bootstrapping the logging package
'basicConfig' and 'logReset' provide a way to put the logging package in a know initial state.
the logging level of the root logger. defaults to INFO. please do notice that this has no effect on the handling level of the handler that basicConfig attaches to the root logger.
creates the root logger, attaches a console handler to it and sets the level of the handler to logging.level INFO. the level of the logger can be passed as a parameter to the function.
reinitializes the whole logging system as if the package had just been loaded. typically, you would want to call basicConfig immediately after a call to logReset.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.