Logging module for Pyjamas, mimicking CPython's logging module.
|
getLoggerForHandler(handler,
name=__name__,
level=DEBUG,
fmt=BASIC_FORMAT)
Use this function to easily include new loggers in your application,
e.g. |
source code
|
|
|
getAlertLogger(name=__name__,
level=DEBUG,
fmt=BASIC_FORMAT)
A logger that shows any log message in a browser's alert popup
dialog. |
source code
|
|
|
getAppendLogger(name=__name__,
level=DEBUG,
fmt=BASIC_FORMAT)
A logger that appends text to the end of the HTML document body. |
source code
|
|
|
getConsoleLogger(name=__name__,
level=DEBUG,
fmt=BASIC_FORMAT)
A logger that uses Firebug's console.log() function. |
source code
|
|
|
|
|
getPrintLogger(name=__name__,
level=DEBUG,
fmt=BASIC_FORMAT)
A logger that prints text to cerr, the default error output stream. |
source code
|
|