Logging

boussole.logs.init_logger(level, printout=True)[source]

Initialize app logger to configure its level/handler/formatter/etc..

Todo:
  • A mean to raise click.Abort or sys.exit when CRITICAL is used;
Parameters:level (str) – Level name (debug, info, etc..).
Keyword Arguments:
 printout (bool) – If False, logs will never be outputed.
Returns:Application logger.
Return type:logging.Logger