uwtools.api.logging

API access to uwtools logging logic.

uwtools.api.logging.use_custom_logger(logger)

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

Parameters:

logger (Logger) – The custom logger to use.

Return type:

None

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

Log to a Logger configured to follow uwtools conventions.

Parameters:
  • quiet (bool) – Supress all logging output.

  • verbose (bool) – Log all messages.

Return type:

None