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.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
- structlog_sentry_logger.getLogger
CamelCase alias for structlog_sentry_logger.get_logger.