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
Commonly a prefix is used in log messages.
For example:
[ "[", inspect(__MODULE__), "] My info message." ] |> Miss.String.build() |> MetaLogger.info() # => [MyModule] My info message.
My proposal is to create an overload function for each log level to receive the message prefix:
MetaLogger.info("PREFIX", "My info message") # => [PREFIX] My info message. MetaLogger.info(__MODULE__, "My info message") # => [MyModule] My info message.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Commonly a prefix is used in log messages.
For example:
My proposal is to create an overload function for each log level to receive the message prefix:
The text was updated successfully, but these errors were encountered: