Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Log levels implemented:
Also made sure that if 2 logs are sent and received at the same time, they will appear on 2 different lines.
The logs are also timestamped.
In the different sendLEVELMessage, you now can add a logger (just a string) to identify what mod, or event different type of logger to identify easily from where the log comes from.
usage example :
will print out in the console :
The logger name is optional and will default to "DefaultLogger" if the argument is not passed.
I'm currently working on a way to exploint the new logger format console side. Specifically 2 filters that will only show logs from a specific level (or from a specific level and above) and filter out only logs from a specific logger