We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
LoggingContextFactory
This issue is a suggestion.
Now, metadata keys are created with LoggingFactory that also creates loggers.
LoggingFactory
To create a new context, one should use ScopedLoggingContext.newContext().
ScopedLoggingContext.newContext()
However, we have LoggingContextFactory that creates level maps and contexts. But it is internal.
internal
Metadata keys strictly relate to the context. So, I suggest moving keys and context creation to LoggingContextFactory, and make this factory public.
public
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This issue is a suggestion.
Now, metadata keys are created with
LoggingFactory
that also creates loggers.To create a new context, one should use
ScopedLoggingContext.newContext()
.However, we have
LoggingContextFactory
that creates level maps and contexts. But it isinternal
.Metadata keys strictly relate to the context. So, I suggest moving keys and context creation to
LoggingContextFactory
, and make this factorypublic
.The text was updated successfully, but these errors were encountered: