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: Move logging to ZIO's official logging library #47

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

j-hall-mwam
Copy link
Contributor

The previous logging stack is rather deep, this PR aims to reduce it to just the native ZIO logging libraries and remove all other logging dependencies.

Some notes:

  • Logging can no longer be Filtered the same way as before. ZIO does not seem to expose a way of modifying a log's level once it has been created.
  • Log style changes.

@j-hall-mwam j-hall-mwam marked this pull request as ready for review December 11, 2023 08:39

import java.nio.file.Paths

object Logging {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment on PR about exactly what functionality we are losing when going from old logger to new one?

Logging can no longer be Filtered the same way as before. ZIO does not seem to expose a way of modifying a log's level once it has been created.

Seems like you are changing log level in code?

Co-authored-by: Mohsin Niazi <[email protected]>
Signed-off-by: Jordan Lloyd Hall <[email protected]>
@j-hall-mwam j-hall-mwam marked this pull request as draft December 12, 2023 09:26
@bluemonk3y
Copy link

Hello @j-hall-mwam - pls take a look at https://github.com/specmesh/specmesh-build

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

Successfully merging this pull request may close these issues.

3 participants