-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a
with(MetadataKey<Boolean>)
method to set a boolean metadata f…
…lag. I've been meaning to look at this for a while and there are hundreds of uses of just this key which would be improved visually: `logger.atWarning().with(PERSISTENT, true).log("...");` would become: `logger.atWarning().with(PERSISTENT).log("...");` RELNOTES=Added `with(MetadataKey<Boolean>)` method for setting metadata "flags". ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=310508434
- Loading branch information
Showing
4 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters