ifw
0.0.1-dev
|
Captures log messages into a memory buffer and allows on-demand writing captured messages to stderr. More...
Public Member Functions | |
def | __init__ |
def | start |
Start capturing logs. More... | |
def | clear |
Clear captured logs. More... | |
def | write_captured |
Write captured logs since last clear() or start() More... | |
def | __init__ |
def | start |
Start capturing logs. More... | |
def | clear |
Clear captured logs. More... | |
def | write_captured |
Write captured logs since last clear() or start() More... | |
Public Attributes | |
handler | |
Static Public Attributes | |
string | logformat = '%(name)s: %(levelname)s: %(message)s' |
logdateformat = None | |
stream = sys.stderr | |
Captures log messages into a memory buffer and allows on-demand writing captured messages to stderr.
def etr.tools.logcapture.LogCapture.__init__ | ( | self | ) |
def etr.tools.logcapture.LogCapture.__init__ | ( | self | ) |
def etr.tools.logcapture.LogCapture.clear | ( | self | ) |
Clear captured logs.
def etr.tools.logcapture.LogCapture.clear | ( | self | ) |
Clear captured logs.
def etr.tools.logcapture.LogCapture.start | ( | self | ) |
Start capturing logs.
def etr.tools.logcapture.LogCapture.start | ( | self | ) |
Start capturing logs.
def etr.tools.logcapture.LogCapture.write_captured | ( | self, | |
message = None |
|||
) |
def etr.tools.logcapture.LogCapture.write_captured | ( | self, | |
message = None |
|||
) |
etr.tools.logcapture.LogCapture.handler |
|
static |
|
static |
|
static |