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

feat: logger class #27

Merged
merged 3 commits into from
Jul 10, 2024
Merged

feat: logger class #27

merged 3 commits into from
Jul 10, 2024

Conversation

EchoEllet
Copy link
Collaborator

The current logging solution is still inadequate and needs improvement. This PR makes it easier to track the log messages or
migrate later, we have considered using Kotlin logging solutions though most of them depend on a Java logging library for the JVM implementation, which makes the bundle size bigger (0.10 MB to 6 MB).

Notice the messages that are printed to the log will be shown when running the script using the command line or in the launcher, which is why we avoided printing log info at the start of the message: [main] INFO Main - ${message}.

We might use Java logging since it's already part of the JDK and will be used in development mode to filter the messages by log level and scope.

@EchoEllet EchoEllet marked this pull request as ready for review July 10, 2024 16:01
@EchoEllet EchoEllet merged commit 36332b7 into main Jul 10, 2024
1 check passed
@EchoEllet EchoEllet deleted the feat/logger-class branch July 10, 2024 16:02
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.

1 participant