mwptoolkit.utils.logger

mwptoolkit.utils.logger.init_logger(config)[source]

A logger that can show a message on standard output and write it into the file named filename simultaneously. All the message that you want to log MUST be str.

Parameters

config (mwptoolkit.config.configuration.Config) – An instance object of Config, used to record parameter information.