Closed kangz12345 closed 10 months ago
Did you intend that this issue is in the Log Viewer project? The project was created in the Iquip repo, but if you are okay, never mind!
Did you intend that this issue is in the Log Viewer project?
Yes, because this is required to implement the logger in iquip!
Feature you want to implement
Currently, the example apps and the
qiwis
system just print out the log messages to the console or broadcast them to the log channel. However, this seems neither scalable nor modular since it does not provide any extendable interface, e.g., logging into files, log filtering, log levels, etc. Therefore, I think we should use the Python'slogging
module for logging and implement aHandler
to send the logs to the logger app.How the feature is implemented
This issue will be broken into 3 sub-issues:
qiwis
and get its logger. We will create a dedicated branch for this.) (See #180)Qiwis
. (See #181)logging
to log. (See #182)Additional context
An image from logging flow![Logging flow](https://docs.python.org/3.7/_images/logging_flow.png)