|
|
__init__(self,
filename,
filemode='a',
level=20,
format='%(asctime)-s %(levelname)-8s %(message)s',
dateFormat='%y-%m-%d %H:%M')
Arguments:
- filename
- filemode = 'a'(ppend) or 'w'(rite). |
source code
|
|
|
|
setLevel(self,
level)
Sets the current level for this log (numerically)
The values correspond to: |
source code
|
|
|
|
getLevel(self)
Returns the current level for this log (numerically)
The values correspond to: |
source code
|
|
|
|
write(self,
text)
Write arbitrary text to the logfile (and no other file). |
source code
|
|
|
|
|