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 TypeMethodDescriptionvoidstatic LoggingEventConsumercreate()Creates a newLoggingEventConsumerwith all defaults.static LoggingEventConsumercreate(LoggerConfig loggerConfig)
-
Method Details
-
create
Creates a newLoggingEventConsumerwith all defaults.- Returns:
- a
LoggingEventConsumer.
-
create
-
accept
-