Skip to content

Commit

Permalink
Remove unused type parameter from ScopedLoggingContexts#applyLogLevel…
Browse files Browse the repository at this point in the history
…Map.

Note that this is a breaking change for Kotlin code compiled against this API, though I suspect that nobody is using Flogger with Kotlin outside of Google.

RELNOTES=Remove unused type parameter from ScopedLoggingContexts#applyLogLevelMap.
PiperOrigin-RevId: 512719493
  • Loading branch information
hagbard authored and Flogger Team committed Feb 27, 2023
1 parent bf2beb0 commit e2d80fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static <T> boolean addMetadata(MetadataKey<T> key, T value) {
* @return false if there is no current context, or scoped contexts are not supported.
*/
@CanIgnoreReturnValue
public static <T> boolean applyLogLevelMap(LogLevelMap logLevelMap) {
public static boolean applyLogLevelMap(LogLevelMap logLevelMap) {
return ScopedLoggingContext.getInstance().applyLogLevelMap(logLevelMap);
}
}

0 comments on commit e2d80fb

Please sign in to comment.