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

Module Logging

source code

Writes Logfiles

Classes [hide private]
  DummyLogger

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

Variables [hide private]
  hasLogging = True
  _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]

hasLogging

None
Value:
True                                                                   
      

_definedLoggers

None
Value:
[]