init_logging

support.logs.init_logging(extlogger, loglevel=20, consolevel=20, logname='/tmp/logging.log')

Create a logger that displays to the console and writes a log file.

:param loglevel : logging level for the file log :type loglevel : logging module parameter

:param consolevel : logging level for messages sent to the console :type loglevel : logging module parameter

:param logname : path and name of the logging file :type logname : str

Returns

logging.Logger instance