Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Custom Logger #37

Open
StormSurge95 opened this issue Oct 8, 2022 · 1 comment
Open

Add Custom Logger #37

StormSurge95 opened this issue Oct 8, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Milestone

Comments

@StormSurge95
Copy link
Collaborator

Currently; the "best" option for logging packages looks like Winston as we can customize nearly everything about it fairly easily. At the moment though, my only hiccup is: how do we want format of the logs to look? Do we want timestamps? Do we want to show the level(s) of the log(s)? Do we want to be able to prettyprint JSON? Do we want basic coloring (as in just the log levels and/or the entirety of the message) or do we want advanced coloring (as in specific colors for JSON printing)?

Just to place a first suggestion: <hours>:<minutes>:<seconds>:<milliseconds> <level> [<character ID>]: <message>

@StormSurge95 StormSurge95 added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Oct 8, 2022
@earthiverse earthiverse added this to the v1 milestone Aug 22, 2024
@earthiverse
Copy link
Owner

I'd like to implement sending messages through an EventBus that plugins can listen to. That way a plugin can handle logging however it wants.

Related: #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants