Return a logger with additional information
name (str) – The name of the logger
info (callable) – A function returning additional information as a dict. Dict attributes appear as LogRecord attributes in the logger and can be included in the logger output with an appropriate format.
DelayedLogger – Logger instance with additional information and delayed creation.
- Return type
This function uses the module attributes: level, filter, handler