mirror of https://github.com/qos-ch/slf4j
added at() as an alias for makeLoggingEventBuilder()
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
This commit is contained in:
parent
ce15e71dd8
commit
c61f01783a
|
|
@ -113,6 +113,17 @@ public interface Logger {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* An alias for {@link #makeLoggingEventBuilder}.
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
default public LoggingEventBuilder at(Level level) {
|
||||
return makeLoggingEventBuilder(level);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this Logger is enabled for a given {@link Level}.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue