Description Usage Arguments Examples
handlers are not uniquely identified by their name. only within the logger to which they are attached is their name unique. this function is here to allow you grab a handler from a logger so you can examine and alter it.
typical use of this function is in setLevel(newLevel, getHandler(...)).
1 | getHandler(handler, logger='')
|
handler |
the name of the handler, or its action. |
logger |
optional: the name of the logger. defaults to the root logger. |
1 2 3 | logReset()
addHandler(writeToConsole)
getHandler('writeToConsole')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.