fix sphinx doc build by adding a small init function

This commit is contained in:
Alexander Hampel 2023-04-20 17:43:52 -04:00
parent aa0162d810
commit 15746b1d4d
1 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,12 @@ from .plotools import generate_plo, output_as_text
import logging
class PloFormatter(logging.Formatter):
"""
custom event logger for all output, warnings and debug info
"""
def __init__(self, default):
self._default_formatter = default
def format(self, record):
# Save the original format
_style = self._style