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

Custom prefix field name #36

Open
Chamuelm opened this issue Sep 25, 2024 · 1 comment
Open

Custom prefix field name #36

Chamuelm opened this issue Sep 25, 2024 · 1 comment

Comments

@Chamuelm
Copy link

Hi,
We usually use a json formatter for our logs output but when debugging we found this formatter really nice.
We want to add the prefix as part of the logger field which is supported currently only if the field name is "prefix", but we want to use something more descritive like "moduleName" or "operation".

I tought it might be nice to have the option to choose a custom log field name.

@Chamuelm
Copy link
Author

I created a PR
#37

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

No branches or pull requests

1 participant