structlog_sentry_logger
ο
Structlog Sentry Logger
Submodulesο
Package Contentsο
Functionsο
Convenience function to get the local logging configuration dictionary, |
|
|
Convenience function that returns a logger |
|
Attributesο
CamelCase alias for structlog_sentry_logger.get_logger. |
- structlog_sentry_logger.getLoggerο
CamelCase alias for structlog_sentry_logger.get_logger.
- structlog_sentry_logger.get_config_dict()[source]ο
Convenience function to get the local logging configuration dictionary, e.g., to help configure loggers from other libraries.
Returns: The logging configuration dictionary that would be used to configure the Python logging library component of the logger
- Return type
- structlog_sentry_logger.get_logger(name=None)[source]ο
Convenience function that returns a logger
Returns: A proxy that creates a correctly configured logger bound to the __name__ of the calling module
- Parameters
name (Optional[str]) β
- Return type
Any
- structlog_sentry_logger.get_namespaced_module_name(__file__)[source]ο
- Parameters
__file__ (Union[pathlib.Path, str]) β
- Return type