Description Arguments Usage Author(s) Examples
In the event that you no longer wish to have a logger registered, use this function to remove it. Then any references to this logger will inherit the next available logger in the hierarchy.
name |
The logger name to use |
# Remove a logger
flog.remove(name)
Brian Lee Yung Rowe
1 2 3 4 | flog.threshold(ERROR, name='my.logger')
flog.info("Won't print", name='my.logger')
flog.remove('my.logger')
flog.info("Will print", name='my.logger')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.