Captures log messages into a memory buffer and allows on-demand writing captured messages to stderr.
More...
Captures log messages into a memory buffer and allows on-demand writing captured messages to stderr.
◆ __init__()
def etr.tools.logcapture.LogCapture.__init__ |
( |
|
self | ) |
|
◆ clear()
def etr.tools.logcapture.LogCapture.clear |
( |
|
self | ) |
|
◆ start()
def etr.tools.logcapture.LogCapture.start |
( |
|
self | ) |
|
◆ write_captured()
def etr.tools.logcapture.LogCapture.write_captured |
( |
|
self, |
|
|
|
message = None |
|
) |
| |
◆ handler
etr.tools.logcapture.LogCapture.handler |
◆ logdateformat
etr.tools.logcapture.LogCapture.logdateformat = None |
|
static |
◆ logformat
string etr.tools.logcapture.LogCapture.logformat = "%(name)s: %(levelname)s: %(message)s" |
|
static |
◆ stream
etr.tools.logcapture.LogCapture.stream = sys.stderr |
|
static |
The documentation for this class was generated from the following file: