Replace logging module with dedicated library
apple1417 opened this issue · comments
apple1417 commented
We have a logging module, but it's very simple and kind of confusing. We should use a dedicated library instead. Ideally:
- Logging goes to file at generally low log level (not debug by default though), with standard logging format.
- Logging goes to console at higher log level, and with less verbosity (just something like
[<module>] message
). unrealsdk.Log
in Python takes a module and integrates directly with logging system.stdout
in Python goes to file as in normal logging, but goes directly to console without special formatting.- Python functions exist to change log level of file + console separately (/ log format?).