Package PyFoam :: Package Infrastructure :: Module Logging
[hide private]
[frames] | no frames]

Module Logging

source code

Writes Logfiles

Functions [hide private]
  _getLoggingLevel(name)
Gets the logging level value from its name
  foamLogger(name="general")

Variables [hide private]
  _definedLoggers = []

Imports: logging, Hardcoded.assertDirectory, Hardcoded.logDirectory, os.path, os.uname, configuration, as, config


Function Details [hide private]

_getLoggingLevel(name)

source code 
Gets the logging level value from its name

foamLogger(name="general")

source code 
Parameters:
  • name - name of the logfile
Returns:
a logger that is correctly set up for pyFoam

Variables Details [hide private]

_definedLoggers

None
Value:
[]