splinepy.utils.log.prepend_log#
- splinepy.utils.log.prepend_log(message, log_func, as_method=True)[source]#
Prepend message before a logging function.
- Parameters:
message (str)
log_func (function) – one of the following - {info, debug, warning}
as_method (bool) – If True, uses partialmethod instead of partial.
- Returns:
prepended
- Return type:
function