Package org.zalando.logbook.core
Class CommonsLogFormatSink
java.lang.Object
org.zalando.logbook.core.CommonsLogFormatSink
- All Implemented Interfaces:
Sink
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isActive()
void
write
(Correlation correlation, HttpRequest request, HttpResponse response) void
write
(Precorrelation precorrelation, HttpRequest request)
-
Constructor Details
-
CommonsLogFormatSink
-
-
Method Details
-
isActive
public boolean isActive() -
write
-
write
public void write(Correlation correlation, HttpRequest request, HttpResponse response) throws IOException - Specified by:
write
in interfaceSink
- Throws:
IOException
-