Simple helper library for logging.
init_logging
- initializes the logging with a default level, which can be overridden with an environment variableset_logging_level
- sets the logging level of alogging.Logger
instancestr_to_logging_level
- turns a string logging level into alogging
module one, used byinit_logging
andset_logging_level
add_logging_level
- adds an option for the logging level to anargparse.ArgumentParser
instanceadd_logger_name
- adds an option for a custom name for a logger to anargparse.ArgumentParser
instance