Skip to content

diffsync.log

Logging utilities for diffsync.

This module contains helpers and wrappers for making logging more consistent across applications.

How to use me:

>>> from diffsync.log import initialize_logging
>>> log = initialize_logging(level="debug")

diffsync.log.initialize_logging(config=None, level='INFO', filename=None)

Initialize logging using sensible defaults.

Parameters:

Name Type Description Default
config dict

User provided configuration dictionary.

None
level str

The level of logging for STDOUT logging.

'INFO'
filename str

Where to output debug logging to file.

None