Package Products :: Package ZenUtils :: Module Logger |
[hide private]
[frames] | no frames]

# Module Logger

source code

Logger

Log messages from all confmon applications. Logger will use the new python loggin stuff to route log nad filter messages. This is also where lookups of error message translations happens.

$Id: Logger.py,v 1.3 2002/07/19 17:02:41 edahl Exp $

Functions | [hide private]
logger(level, message) Returns: log message with levl and time | source code

Variables | [hide private]
| __version__ = `"$Revision: 1.3 $" [11:-2]`
| FATAL = `5`
| CRITICAL = `4`
| WARNING = `3`
| INFORMATION = `2`
| DEBUG = `1`
| severities = `"NONE", "DEBUG", "WARNING", "CRITICAL", "FATAL"`

Function Details | [hide private]

### logger(level, message) | source code
  Returns:
      log message with levl and time