OslLogger.__init__(loglevel: str = 'DEBUG', log_to_file: bool = False, logfile_name: str = 'pyOptislang.log', log_to_stdout: bool = True) None#

Initialize the customized logger.

loglevelstr, optional

Level of logging. The default is LOG_LEVEL.

log_to_filebool, optional

Whether to record logs to an output file. The default is False.

logfile_name: str, optional

Name of the output file. The default is FILE_NAME.

log_to_stdoutbool, optional

Whether to log to the command line. The default is False.