uwtools.api.logging

API access to uwtools logging logic.

uwtools.api.logging.use_custom_logger(logger: Logger) None

Log to the specified Logger object, configured according to your needs.

Parameters

logger – The custom logger to use

uwtools.api.logging.use_uwtools_logger(quiet: bool = False, verbose: bool = False) None

Log to a Logger configured to follow uwtools conventions.

Parameters
  • quiet – Supress all logging output

  • verbose – Log all messages