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
source code
 
foamLogger(name='general')
Returns: a logger that is correctly set up for pyFoam
source code
Variables [hide private]
  __package__ = 'PyFoam.Infrastructure'
  _definedLoggers = []
  hasLogging = True

Imports: assertDirectory, config, logDirectory, logging, path, print_, uname


Function Details [hide private]

foamLogger(name='general')

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