File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- """Custom json logging"""
1+ """Custom json logging. """
22
33# Python3 logging custom formatter.
44# For more information, please visit: https://docs.python.org/3/library/logging.html
1212
1313
1414class JsonFormatter (logging .Formatter ):
15- """JsonFormatter Class"""
15+ """JsonFormatter Class. """
1616
1717 def format (self , record ):
18- """format class. Used to do custom json formatting"""
19-
18+ """Format class. Used to do custom json formatting."""
2019 # Interpolates record message properly
2120 record .msg = super ().format (record )
2221
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ def configure(
5454 cls , log_config_path : Optional [str ] = None , log_level : Optional [str ] = None
5555 ):
5656 """Configure logger.
57+
5758 :param logging_config_path: str: (Default value = None) Optional path to
5859 custom logging config
5960
You can’t perform that action at this time.
0 commit comments