Package org.zalando.logbook.core
Class ExtendedLogFormatSink
java.lang.Object
org.zalando.logbook.core.ExtendedLogFormatSink
- All Implemented Interfaces:
Sink
-
Constructor Summary
ConstructorsConstructorDescriptionExtendedLogFormatSink(HttpLogWriter writer) ExtendedLogFormatSink(HttpLogWriter writer, String fields) ExtendedLogFormatSink(HttpLogWriter writer, ZoneId timeZone, String version, String fields) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive()voidwrite(Correlation correlation, HttpRequest request, HttpResponse response) voidwrite(Precorrelation precorrelation, HttpRequest request)
-
Constructor Details
-
ExtendedLogFormatSink
-
ExtendedLogFormatSink
-
ExtendedLogFormatSink
-
-
Method Details
-
isActive
public boolean isActive() -
write
-
write
public void write(Correlation correlation, HttpRequest request, HttpResponse response) throws IOException - Specified by:
writein interfaceSink- Throws:
IOException
-