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: add evaluateArgsThatAreFunctions option #1057

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gaelhameon
Copy link

This is meant to achieve the same functionality as #424

I tried adding the config parameter as discussed in #424, and I figured we might as well make it possible to define it for each category.

I did this the same way as what is currently done for the useCallStack option.

I ended up implementing this in a different place than in #424: right in the logger, instead of in the layout.

Before I start writing tests, can you confirm:

  • that this feature is still something you find interesting ?
  • that this implementation is ok for you ?

In a way, I think it would actually make more sense to implement this in the layouts or the appenders, rather than in the categories, but for my use cases, a category based control works fine, and I don't really have the courage to get into the layouts / appenders code right now.

@lamweili lamweili added the enhancement New feature or request label Jan 29, 2022
@gaelhameon gaelhameon force-pushed the feat/evaluate-args-that-are-functions branch from 8c8078c to 9bde721 Compare March 16, 2022 08:59
@gaelhameon gaelhameon force-pushed the feat/evaluate-args-that-are-functions branch from 9bde721 to aeb9404 Compare March 16, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants