Skip to content

Conversation

@PedroCorcaque
Copy link
Member

A new way to show the logs was used.

To use the new Logger class, you need use the logger.log() method.
This method receives a message and a level.

message is the data that will be shown in the log.
level is the log level and it could be "info", "debug", "error" or "warn".

The Logger class was created as a Singleton Class, so, we are using the same object in all modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants