added general testing, fixed up config, made writer general

This commit is contained in:
evonneng committed 2022-04-28 23:21:01 +00:00
1 parent e5f436a18d
commit 58f2622f4d
7 files changed
+121 -16

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ def check_stats_enabled(func: Callable) -> Callable:
def wrapper(self, *args, **kwargs):
ret = None
if self.config.debug.enable_stats:
if self.config.logging_configs.enable_stats:
ret = func(self, *args, **kwargs)
return ret
@@ -34,7 +34,7 @@ def check_profiler_enabled(func: Callable) -> Callable:
def wrapper(self, *args, **kwargs):
ret = None
if self.config.debug.enable_stats:
if self.config.logging_configs.enable_stats:
ret = func(self, *args, **kwargs)
return ret