Closed thebongy closed 4 years ago
Why not have a single log stream that does everything instead of having multiple streams, one for the module and one for the library?
In the module we can do:
Log.Init("file name.log", Level.Verbose); Log.Warn("Test");
Everything (including module logs and the library logs) will then be logged to file name.log
file name.log
@rakshith-ravi I have made the logger now accept the file path. Also, now you need to explicitly call Log.Init() first to log anything
Why not have a single log stream that does everything instead of having multiple streams, one for the module and one for the library?
In the module we can do:
Everything (including module logs and the library logs) will then be logged to
file name.log