java.lang.Object
org.zalando.logbook.core.CommonsLogFormatSink
- All Implemented Interfaces:
org.zalando.logbook.Sink
@API(status=EXPERIMENTAL)
public final class CommonsLogFormatSink
extends Object
implements org.zalando.logbook.Sink
- See Also:
-
Constructor Details
-
CommonsLogFormatSink
public CommonsLogFormatSink(org.zalando.logbook.HttpLogWriter writer)
-
-
Method Details
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceorg.zalando.logbook.Sink
-
write
public void write(org.zalando.logbook.Precorrelation precorrelation, org.zalando.logbook.HttpRequest request) - Specified by:
writein interfaceorg.zalando.logbook.Sink
-
write
public void write(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpRequest request, org.zalando.logbook.HttpResponse response) throws IOException - Specified by:
writein interfaceorg.zalando.logbook.Sink- Throws:
IOException
-