openfactcheck.lib.get_logger#

openfactcheck.lib.get_logger(name=None, enable_file_logging=False, file_name='app.log')[source][source]#

Return a logger with the specified name.

This function is not supposed to be directly accessed unless you are writing a custom module.

Parameters:
  • name (str | None)

  • enable_file_logging (bool)

  • file_name (str)

Return type:

Logger