mirror of
https://github.com/triqs/dft_tools
synced 2024-11-18 03:53:48 +01:00
fix sphinx doc build by adding a small init function
This commit is contained in:
parent
aa0162d810
commit
15746b1d4d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user