Uses of Class
com.couchbase.client.core.env.LoggerConfig.Builder
-
Uses of LoggerConfig.Builder in com.couchbase.client.core.env
Modifier and TypeMethodDescriptionstatic LoggerConfig.Builder
LoggerConfig.builder()
Deprecated.LoggerConfig.Builder.consoleLoggerFormatter
(LoggerFormatter loggerFormatter) Deprecated.Please configure logger output via SLF4J binding instead.LoggerConfig.consoleLoggerFormatter
(LoggerFormatter loggerFormatter) Deprecated.Please useLoggerConfig.builder()
instead.LoggerConfig.Builder.consoleLogLevel
(Level consoleLogLevel) Deprecated.This method has no effect.static LoggerConfig.Builder
LoggerConfig.consoleLogLevel
(Level consoleLogLevel) Deprecated.Please useLoggerConfig.builder()
instead.LoggerConfig.Builder.disableSlf4J
(boolean disableSlf4J) Deprecated.SFL4J is always used for logging.static LoggerConfig.Builder
LoggerConfig.disableSlf4J
(boolean disableSlf4J) Deprecated.Please useLoggerConfig.builder()
instead.LoggerConfig.Builder.enableDiagnosticContext
(boolean diagnosticContextEnabled) If enabled, and the user specifies aclientContext
for a request, the client context is copied into the Mapped Diagnostic Context (MDC) when events related to that request are logged.static LoggerConfig.Builder
LoggerConfig.enableDiagnosticContext
(boolean diagnosticContextEnabled) Deprecated.Instead, please create a new builder withLoggerConfig.builder()
, and then call the non-staticenableDiagnosticContext(boolean)
method.LoggerConfig.Builder.fallbackToConsole
(boolean fallbackToConsole) Deprecated.SLF4J is used for all logging.static LoggerConfig.Builder
LoggerConfig.fallbackToConsole
(boolean fallbackToConsole) Deprecated.Please useLoggerConfig.builder()
instead, and configure your SLF4J binding to log to the console if desired.CoreEnvironment.Builder.loggerConfig()
Returns the currently stored config builder.LoggerConfig.Builder.loggerName
(String loggerName) Deprecated.the logging infrastructure picks the logger name automatically now based on the event type so it is easier to enable/disable logging or change the verbosity level for certain groups rather than having a single universal logger name.static LoggerConfig.Builder
LoggerConfig.loggerName
(String loggerName) Deprecated.the logging infrastructure picks the logger name automatically now based on the event type so it is easier to enable/disable logging or change the verbosity level for certain groups rather than having a single universal logger name.Modifier and TypeMethodDescriptionCoreEnvironment.Builder.loggerConfig
(LoggerConfig.Builder loggerConfig) Deprecated.This method clobbers any previously configured values.Modifier and TypeMethodDescriptionCoreEnvironment.Builder.loggerConfig
(Consumer<LoggerConfig.Builder> builderConsumer) Passes theLoggerConfig.Builder
to the provided consumer.
CoreEnvironment.Builder.loggerConfig(Consumer)
and configure the builder passed to the consumer.