package: qacode.core.loggers

Class: LoggerManager

Module related with all logging tasks

class qacode.core.loggers.logger_manager.LoggerManager(log_path='logs/', log_name='qacode', log_level=None, is_output_console=True, is_output_file=True)[source]

Bases: object

Manager to instance configurated logger

@usage: instance.get_log()

create_console_handler(log_level, log_formatter)[source]

Create console handler and set logfile level

create_file_handler(log_level, log_formatter, log_path_join)[source]

Create console handler and set logfile level

create_logger()[source]

Generates handlers from logging package

log_level = None
log_name = None
log_path = None
log_path_join = None
logger = None
class qacode.core.loggers.logger_manager.LoggerManager(log_path='logs/', log_name='qacode', log_level=None, is_output_console=True, is_output_file=True)[source]

Manager to instance configurated logger

@usage: instance.get_log()

create_console_handler(log_level, log_formatter)[source]

Create console handler and set logfile level

create_file_handler(log_level, log_formatter, log_path_join)[source]

Create console handler and set logfile level

create_logger()[source]

Generates handlers from logging package