Interface LogSink
- All Known Implementing Classes:
DynamicLogSink,FilteringLogSink,LogFilterFilteringLogSink,MethodHandleLogSink,PrintStreamLogSink
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddFilterToGlobal(LogFilter filter) default MethodHandlebind()Returns a bound method handle equivalent to the emit method of this sink.voidemit(String source, StringSupplier message, @Nullable Throwable throwable, List<String> tags, Thread thread) static LogSinkglobal()static void
-
Method Details
-
emit
-
bind
Returns a bound method handle equivalent to the emit method of this sink. -
global
-
setGlobal
-
addFilterToGlobal
-