remove getLogger() completely

This commit is contained in:
Lincoln Stein
2023-08-17 19:17:38 -04:00
parent 79084e9e20
commit 1d107f30e5
8 changed files with 26 additions and 38 deletions

View File

@ -96,7 +96,7 @@ INIT_FILE_PREAMBLE = """# InvokeAI initialization file
# or renaming it and then running invokeai-configure again.
"""
logger = InvokeAILogger.getLogger()
logger = InvokeAILogger.get_logger()
class DummyWidgetValue(Enum):
@ -827,7 +827,7 @@ def main():
if opt.full_precision:
invoke_args.extend(["--precision", "float32"])
config.parse_args(invoke_args)
logger = InvokeAILogger().getLogger(config=config)
logger = InvokeAILogger().get_logger(config=config)
errors = set()