acq400_logger

Logging for acq400_hapi

class acq400_logger[source]

Bases: Logger

term_fmt = '[%(levelname)s]: %(message)s'
file_fmt = '[%(asctime)s %(levelname)s]: %(message)s'
date_fmt = '%Y-%m-%d %H:%M:%S'
formats = {10: {'format': '[%(levelname)s]: %(message)s'}, 20: {'format': '%(message)s'}, 30: {'color': '\x1b[33;20m', 'format': '[%(levelname)s]: %(message)s'}, 40: {'color': '\x1b[31;20m', 'format': '[%(levelname)s]: %(message)s'}, 50: {'color': '\x1b[31;1m', 'format': '[%(levelname)s]: %(message)s'}}
__init__(name, level=20, logfile=None)[source]
add_new_level(levelname, levelno, color=None, format=None)[source]
class BaseFormatter[source]

Bases: Formatter

__init__(logger)[source]
class Formatter[source]

Bases: BaseFormatter

format(record)[source]
class FileFormatter[source]

Bases: BaseFormatter

format(record)[source]