Create logger before modules are imported
This commit is contained in:
parent
f52b579b13
commit
cb7ea6c347
|
|
@ -1,8 +1,9 @@
|
|||
import clog
|
||||
import soypak.cli.soypakcli as soypakcli
|
||||
|
||||
logger = clog.Logger(out_file=".soypak.log", name="runtime_logger")
|
||||
logger.writeLog("new CLI instance has been started.", level=0)
|
||||
|
||||
import soypak.cli.soypakcli as soypakcli
|
||||
|
||||
if __name__ == "__main__":
|
||||
soypakcli.SoypakCLI().run_command()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user