|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
bool
|
|
|
string
|
read(self,
*args)
Fake method (exposed for file object compatibility) |
source code
|
|
|
string
|
|
|
list
|
|
|
int
|
seek(self,
offset)
File object method, move file object cursor at offset |
source code
|
|
|
int
|
|
|
|
truncate(self)
File object method, truncate file buffer. |
source code
|
|
|
|
open(self,
file_path=None)
Open log file, if possible, otherwise redirect to /dev/null or
stderr. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
log(self,
messagetype,
level,
message)
This is the effective function that LogFile consumers should use. |
source code
|
|
|
|
write(self,
mystr)
File object method, write log message to file using the default
handler set (LogFile.default_handler is the default). |
source code
|
|
|
|
writelines(self,
lst)
File object method, write log message strings to file using the
default handler set (LogFile.default_handler is the default). |
source code
|
|