Uses of Class
com.couchbase.client.core.env.LoggerConfig.Builder
Packages that use LoggerConfig.Builder
-
Uses of LoggerConfig.Builder in com.couchbase.client.core.env
Methods in com.couchbase.client.core.env that return LoggerConfig.BuilderModifier and TypeMethodDescriptionstatic LoggerConfig.BuilderLoggerConfig.builder()Returns aLoggerConfig.Builderwhich can be used to customize the different logging properties.LoggerConfig.Builder.consoleLoggerFormatter(LoggerFormatter loggerFormatter) Allows to customize the format when the console logger is used.LoggerConfig.consoleLoggerFormatter(LoggerFormatter loggerFormatter) Allows to customize the format when the console logger is used.LoggerConfig.Builder.consoleLogLevel(Level consoleLogLevel) Allows to customize the log level for the Console Logger.static LoggerConfig.BuilderLoggerConfig.consoleLogLevel(Level consoleLogLevel) Allows to customize the log level for the Console Logger.LoggerConfig.Builder.customLogger(LoggingEventConsumer.Logger customLogger) Allows to specify a custom logger.static LoggerConfig.BuilderLoggerConfig.customLogger(LoggingEventConsumer.Logger customLogger) Allows to specify a custom logger.LoggerConfig.Builder.disableSlf4J(boolean disableSlf4J) Disable SLF4J logging, which is by default the first option tried.static LoggerConfig.BuilderLoggerConfig.disableSlf4J(boolean disableSlf4J) Disable SLF4J logging, which is by default the first option tried.LoggerConfig.Builder.enableDiagnosticContext(boolean diagnosticContextEnabled) Enables the diagnostic context (if supported by the used logger) - disabled by default.static LoggerConfig.BuilderLoggerConfig.enableDiagnosticContext(boolean diagnosticContextEnabled) Enables the diagnostic context (if supported by the used logger) - disabled by default.LoggerConfig.Builder.fallbackToConsole(boolean fallbackToConsole) Use the console logger instead of the java.util.logging fallback in case SLF4J is not found or disabled.static LoggerConfig.BuilderLoggerConfig.fallbackToConsole(boolean fallbackToConsole) Use the console logger instead of the java.util.logging fallback in case SLF4J is not found or disabled.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.BuilderLoggerConfig.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.Methods in com.couchbase.client.core.env with parameters of type LoggerConfig.BuilderModifier and TypeMethodDescriptionCoreEnvironment.Builder.loggerConfig(LoggerConfig.Builder loggerConfig) Deprecated.Please useCoreEnvironment.Builder.loggerConfig(Consumer)instead.Method parameters in com.couchbase.client.core.env with type arguments of type LoggerConfig.BuilderModifier and TypeMethodDescriptionCoreEnvironment.Builder.loggerConfig(Consumer<LoggerConfig.Builder> builderConsumer) Allows to configure theLoggerConfigthrough a provided builder.