wazuh / qa-system-framework

GNU General Public License v2.0
1 stars 3 forks source link

Add generic module to handle logging #4

Closed jmv74211 closed 1 year ago

jmv74211 commented 1 year ago

It is requested to create a module that allows us to handle logging in the QA framework.

jmv74211 commented 1 year ago

Initial proposal

We are going to implement a custom class that allows us to streamline and build custom logging. We will try to facilitate the use of the handlers and add a layer of colors according to the level of the log.

This base class will be used to build each of the different loggers, such as one for the framework and another for the tests. Each of these loggers will be able to work independently. It is important to highlight that these loggers will be implemented under a "Singleton" pattern, so that they cannot be duplicated.

jmv74211 commented 1 year ago

27-02-2022