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

Module ZenUtils.Logger

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 $
Function Summary
  logger(level, message)
logger(level, message) -> log message with levl and time

Variable Summary
str __version__ = '1.3'
int CRITICAL = 4                                                                     
int DEBUG = 1                                                                     
int FATAL = 5                                                                     
int INFORMATION = 2                                                                     
tuple severities = ('NONE', 'DEBUG', 'WARNING', 'CRITICAL', 'F...
int WARNING = 3                                                                     

Function Details

logger(level, message)

logger(level, message) -> log message with levl and time

Variable Details

__version__

Type:
str
Value:
'1.3'                                                                  

CRITICAL

Type:
int
Value:
4                                                                     

DEBUG

Type:
int
Value:
1                                                                     

FATAL

Type:
int
Value:
5                                                                     

INFORMATION

Type:
int
Value:
2                                                                     

severities

Type:
tuple
Value:
('NONE', 'DEBUG', 'WARNING', 'CRITICAL', 'FATAL')                      

WARNING

Type:
int
Value:
3                                                                     

Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 http://epydoc.sf.net