We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33333f4 commit c13b6a3Copy full SHA for c13b6a3
docs/_sources/conf.py
@@ -575,3 +575,15 @@ def _unireplace(release_note, unireplace):
575
""".format(
576
versions=', '.join(gh_tags[:5])
577
)
578
+
579
+def setup(app):
580
+ from CPAC.utils.monitoring import custom_logging
581
582
+ # initilaize class to make factory functions available to Sphinx
583
+ ml = custom_logging.MockLogger('test', 'test.log', 0, '/tmp')
584
+ for method in [
585
+ method for method in
586
+ set(dir(ml)) - set(dir(custom_logging.MockLogger)) if
587
+ method not in ['name', 'handlers']
588
+ ]:
589
+ setattr(custom_logging.MockLogger, method, getattr(ml, method))
0 commit comments