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

Example output

NULL
NULL
INFO [2020-07-19 20:59:30] Will print

futile.logger documentation built on May 2, 2019, 8:53 a.m.