buildtest.log

Methods related to buildtest logging

Module Contents

Functions

init_logfile(logfile=FILE_LOG)

Initialize a log file intended for a builder. This requires

Attributes

FILE_LOG

LOG_FORMATTER

LOG_NAME

buildtest.log.FILE_LOG
buildtest.log.LOG_FORMATTER = %(asctime)s [%(filename)s:%(lineno)s - %(funcName)5s() ] - [%(levelname)s] %(message)s
buildtest.log.LOG_NAME = buildtest
buildtest.log.init_logfile(logfile=FILE_LOG)

Initialize a log file intended for a builder. This requires passing the filename intended for the log (from the builder) and returns the logger. :param logfile: logfile name :type logfile: str