Package com.couchbase.client.core.cnc
Class LoggingEventConsumer
java.lang.Object
com.couchbase.client.core.cnc.LoggingEventConsumer
Consumes
Events
and logs them per configuration.
This consumer is intended to be attached by default and performs convenient logging throughout the system.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static LoggingEventConsumer
create()
Creates a newLoggingEventConsumer
with all defaults.static LoggingEventConsumer
create
(LoggerConfig loggerConfig)
-
Method Details
-
create
Creates a newLoggingEventConsumer
with all defaults.- Returns:
- a
LoggingEventConsumer
.
-
create
-
accept
-