gustaf.utils.log.prepended_log#

gustaf.utils.log.prepended_log(message, log_func)[source]#

Prepend message before a logging function.

Parameters:
  • message (str) –

  • log_func (function) – one of the followings - {info, debug, warning}

Returns:

prepended

Return type:

function