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

Is it possible to disable output of callerfunc and goid fields? #91

Open
dpominov opened this issue Jan 29, 2025 · 1 comment
Open

Is it possible to disable output of callerfunc and goid fields? #91

dpominov opened this issue Jan 29, 2025 · 1 comment

Comments

@dpominov
Copy link

Is it possible to disable output of callerfunc and goid fields while leaving caller in the standard logger? If yes, how to do it?

Thank you!

@phuslu
Copy link
Owner

phuslu commented Jan 29, 2025

Currently No.

I added this two field becuase the cost is cheap and I think thery are useful. And I thought providing a options to disable it before, but I dislike add something like "DisableCallerFunc"/"DisableCallerGoID" option to Logger.

Any reason/thoughts can give a stronger opinion to adding them? thanks!

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

2 participants