| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| return logging; | ||
| } | ||
|
|
||
| private static boolean isTrueOrNull(Boolean b) { |
There was a problem hiding this comment.
nit: Such methods ideally should accept additional variable with default value to be returned in case if checked parameter is null.
Sorry, something went wrong.
There was a problem hiding this comment.
It is not "getter". This method is used to answer the question whether the parameter is null or Boolean.TRUE.
Sorry, something went wrong.
There was a problem hiding this comment.
nit: I was kinda suggesting to make it "getter", so it can be reused later if needed
Sorry, something went wrong.
There was a problem hiding this comment.
There is "getter":
The above is a service method used at initialization only to enforce opt-out if one of the original sources of the configuration: LoggingOptions or config file has it set to FALSE. However, if the configuration is omitted then it should be interpreted as "allowed" according to the design requirement: to allow by default.
Sorry, something went wrong.
adds metadata auto-population flag to JUL handler. adds metadata auto-population flag to logging config file. forwards metadata auto-population flag via WriteOption to write() calls. refactors JUL handler tests to remove duplication, unused calls and warnings
Adds metadata auto-population flag to JUL handler. Adds metadata auto-population flag to logging config file. Forwards metadata auto-population flag via WriteOption to write() calls. Refactors JUL handler tests to remove duplication, unused calls and warnings
Adds metadata auto-population flag to JUL handler. Adds metadata auto-population flag to logging config file. Forwards metadata auto-population flag via WriteOption to write() calls. Refactors JUL handler tests to remove duplication, unused calls and warnings
Adds metadata auto-population flag to JUL handler. Adds metadata auto-population flag to logging config file. Forwards metadata auto-population flag via WriteOption to write() calls. Refactors JUL handler tests to remove duplication, unused calls and warnings
…ogs redirection to stdout in JUL handler (#808) Aggregates the following work: - #821 - #812 - #807 - #803 - #798 Fixes #689, #691, #799 and #800 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Allow to opt-out auto-population of the log entries with additional metadata in JUL handler using the flag in LoggingOptions and LoggingConfig configuration.
Opt-out is set if at least one of the above will be set to false. Absence of the configuration is interpreted same as setting the configuration to true.