Description Usage Arguments Value 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. |
The retrieved handler object. It returns NULL if handler is not registerd.
1 2 3 | logReset()
addHandler(writeToConsole)
getHandler("basic.stdout")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.