Open wj-Mcat opened 3 years ago
In related works, I use loguru loguru
a lot. So, I suggest this tool for python-wechaty
.
Using an existing logger module/package would be great!
The reason TS/JS Wechaty is using brolog which is written by myself is very simple: I want to use a logger which can compatible with the Node.js & Browser environment together.
If we do not consider the Browser, like Python Wechaty (other Polyglot as well), we can consider using a more mature solution other than writing by ourselves.
python-wechaty
will not consider browser platform in recent past, so I try to use mature solution for logger.
This is my consideration: beautiful & mature.
If we will use other tool for logger in future, we should only change the implementation of get_logger
in wechaty_puppet
.
I think there should be a improvement for logger: beautiful log message format can make us happy.
tools:
Pr is welcome ~