flog.remove: Remove a logger

Description Arguments Usage Author(s) Examples

Description

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.

Arguments

name

The logger name to use

Usage

# Remove a logger
flog.remove(name)

Author(s)

Brian Lee Yung Rowe

Examples

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')

zatonovo/futile.logger documentation built on Feb. 23, 2022, 10:18 p.m.