doenut.utils

DoENUT.utils

Internal helper functions for the module.

Module Contents

Functions

initialise_log(→ logging.Logger)

Sets up a given logger. Should be invoked per module with __name__

doenut.utils.initialise_log(log_name: str, initial_level: int | str) logging.Logger[source]

Sets up a given logger. Should be invoked per module with __name__ Handles making sure we don’t duplicate logs due to multiple invocations from jupyter imports

Parameters:
  • log_name (str :) –

  • initial_level ("int|str" :) –