You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way of logging is not clear enough. Decorators introduce certain redundancy as you must double method declaration in logger module each time. Why not to just use python logging library with custom configuration for each process (eliminates dependency). There is no problem to put your logs with appropriate log level directly into your code and filter levels in prod mode. Do something like that instead (in)
Decorators make methods shorter and separates logging from the functional code, it makes debuging easier.
And we seem to have a custom logging library.
The way of logging is not clear enough. Decorators introduce certain redundancy as you must double method declaration in logger module each time. Why not to just use python logging library with custom configuration for each process (eliminates dependency). There is no problem to put your logs with appropriate log level directly into your code and filter levels in prod mode. Do something like that instead (in)
You can init your logger(for the whole package) in your init.py.
The text was updated successfully, but these errors were encountered: