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