Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviatorCache() - Method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Whether keywords that can cache their output (currently just
%logger{N}via its abbreviator) actually do so. - abbreviatorCache(PatternConfig.CacheType) - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
Sets abbreviatorCache.
- AbstractBuilder() - Constructor for class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
Do nothing constructor
- AbstractBuilder() - Constructor for class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
Ignored.
- AbstractBuilder() - Constructor for class io.jstach.rainbowgum.LogPublisher.AbstractBuilder
-
do nothing.
- AbstractEncoder() - Constructor for class io.jstach.rainbowgum.LogEncoder.AbstractEncoder
-
Do nothing constructor.
- AbstractFilteringLogger - Class in io.jstach.rainbowgum.slf4j.spi
-
A base class for
LoggerDecoratorServiceimplementations that need to filter or enrich log calls without depending onAbstractLogger's internal dispatch, whose stack depth to the real caller is an unversioned SLF4J implementation detail rather than something Rainbow Gum controls or tests. - AbstractFilteringLogger(LoggerDecoratorService.DepthAwareLogger) - Constructor for class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
-
Creates a filtering logger wrapping the given delegate.
- AbstractOutputStreamOutput(URI, OutputStream) - Constructor for class io.jstach.rainbowgum.LogOutput.AbstractOutputStreamOutput
-
Adapts an OutputStream to an Output.
- AbstractRouter(String, LogPublisher, LevelResolver) - Constructor for class io.jstach.rainbowgum.LogRouter.AbstractRouter
-
Router tuple of publisher and resolver.
- AbstractStandardEventFormatter - Class in io.jstach.rainbowgum.format
-
An abstract formatter where the actual full layout of the event is not a concern of the user and by default usually has the semi-standard layout of TTLL - Time, Thread, Level, Logger.
- AbstractStandardEventFormatter(LogFormatter, LogFormatter, LogFormatter, LogFormatter, LogFormatter, LogFormatter, LogFormatter) - Constructor for class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
Override
- AbstractStandardEventFormatter.AbstractBuilder<T> - Class in io.jstach.rainbowgum.format
-
Abstract TTLL Builder.
- accept(KeyValues, String, String, int, V) - Method in interface io.jstach.rainbowgum.KeyValues.KeyValuesConsumer
-
Accepts the KeyValues at the current key and value.
- accept(String, String) - Method in interface io.jstach.rainbowgum.KeyValues.MutableKeyValues
-
Same as
KeyValues.MutableKeyValues.putKeyValue(String, String)but will ignore null keys from sources that have null keys. - add(LogFormatter) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Adds a formatter.
- add(LogProperty.Result) - Method in class io.jstach.rainbowgum.LogProperty.Validator
-
Adds a result that must be present.
- add(String, String) - Method in interface io.jstach.rainbowgum.KeyValues.MutableKeyValues
-
Fluent version of put.
- add(String, String) - Method in interface io.jstach.rainbowgum.scopedkeyvalues.ScopedKeyValues.Builder
-
Fluent form of
BiConsumer.accept(Object, Object). - addIfError(LogProperty.Result) - Method in class io.jstach.rainbowgum.LogProperty.Validator
-
Adds a result only if it is a
LogProperty.Result.Error; aLogProperty.Result.Missingresult is silently ignored. - Adding a custom keyword - Section in package io.jstach.rainbowgum.pattern.format
- Additivity - Section in Overview
- addListener(LogAlerts.Listener) - Method in interface io.jstach.rainbowgum.LogAlerts
-
Registers a listener that is notified synchronously, in addition to the alert being recorded in the ring buffer, every time
LogAlerts.error(LogEvent)is called. - alerts() - Method in interface io.jstach.rainbowgum.LogConfig
-
Alerts about problems with the logging system itself (as opposed to application logging routed through the
LogRouter). - Alerts - Section in Overview
- ALERTS_CAPACITY_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Maximum number of alerts
LogAlertsholds in its ring buffer. - ALERTS_UNOBSERVED_ERRORS_ACTION_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
What
LogAlertsdoes, once onstart, if it has recorded at least one alert and still has zeroLogAlerts.Listeners registered - seeLogAlerts.UnobservedErrorsActionfor the three choices andLogAlerts.UnobservedErrorsAction.DUMPfor the default. - Alerts and Metrics - Section in Overview
- aliases() - Method in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
- aliases() - Method in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- aliases() - Method in interface io.jstach.rainbowgum.pattern.format.PatternRegistry.PatternKey
-
Keyword names.
- aliases() - Method in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.SpringBootKey
- allowedChanges(String) - Method in interface io.jstach.rainbowgum.LogConfig.ChangePublisher
-
Returns what the logger is allowed to change.
- ansiDisabled() - Method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Whether or not print escape outputs.
- ansiDisabled(Boolean) - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
Sets ansiDisabled.
- AnsiSupport - Class in io.jstach.rainbowgum.format
-
Detects whether the current process is attached to an ANSI capable terminal so that formatters (e.g. the pattern module's color keywords) can decide whether to emit ANSI escape codes in the first place instead of emitting and later stripping them.
- append(LogEvent) - Method in interface io.jstach.rainbowgum.LogAppender
-
Appends a single event.
- append(LogEvent[], int) - Method in interface io.jstach.rainbowgum.LogAppender
-
Batch of events.
- append(Boolean) - Method in class io.jstach.rainbowgum.file.FileOutputBuilder
-
Sets append.
- appender(LogProvider) - Method in class io.jstach.rainbowgum.LogRouter.Router.Builder
-
Adds an appender.
- appender(String, Consumer) - Method in class io.jstach.rainbowgum.LogRouter.Router.Builder
-
Adds an appender by giving an appender builder to a consumer.
- APPENDER_ENCODER_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogAppender
-
Encoder appender property.
- APPENDER_ENCODER_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Encoder appender property.
- APPENDER_FLAGS_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogAppender
-
Appender flags.
- APPENDER_FLAGS_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Appender flags.
- APPENDER_OUTPUT_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogAppender
-
Output appender property.
- APPENDER_OUTPUT_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Output appender property.
- APPENDER_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging appender prefix for configuration.
- APPENDER_TYPE_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogAppender
-
Appender type.
- APPENDER_TYPE_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Appender type (buffer/locking strategy).
- Appender Configuration - Section in Overview
- Appender Locking Strategy: Native Image vs HotSpot - Section in Overview
- Appender Reentry Protection - Section in Overview
- Appenders - Section in Overview
- APPENDERS_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Enabled Logging appenders.
- appenderType(LogAppender.AppenderType) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Sets the appender type (buffer/locking strategy).
- appendThrowable(StringBuilder, Throwable) - Static method in interface io.jstach.rainbowgum.LogFormatter.ThrowableFormatter
-
Convenience to append a throwable to string builder.
- APPLICATION_JSON - Enum constant in enum class io.jstach.rainbowgum.LogOutput.ContentType.StandardContentType
-
application/json
- apply(T) - Method in interface io.jstach.rainbowgum.LogProperty.PropertyFunction
- Architecture - Section in Overview
- arguments() - Method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
The arguments added to this builder so far, in the order added.
- arguments(LoggingEventBuilder) - Static method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
The arguments added to the builder so far, if possible.
- ARRAY_END - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Helper for writing JSON array end: ]
- ARRAY_START - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Helper for writing JSON array start: [
- asList() - Method in class io.jstach.rainbowgum.LogAppender.Appenders
-
Return the appenders as a list.
- asSingle() - Method in class io.jstach.rainbowgum.LogAppender.Appenders
-
Consolidate the appenders as a single appender, appended synchronously.
- async() - Static method in interface io.jstach.rainbowgum.LogPublisher.PublisherFactory
-
Async builder.
- ASYNC_BUFFER_SIZE - Static variable in interface io.jstach.rainbowgum.LogPublisherRegistry
-
Default async buffer size.
- ASYNC_SCHEME - Static variable in interface io.jstach.rainbowgum.LogPublisherRegistry
-
This is URI scheme for the async publisher used by the publisher builder.
- AT - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.ExtendedFieldPrefix
-
"@" At symbol prefix
- atDebug() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- atDebug() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- atError() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- atError() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- atInfo() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- atInfo() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- atTrace() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- atTrace() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- atWarn() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- atWarn() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- AUTO_DETECT - Enum constant in enum class io.jstach.rainbowgum.LogAppender.AppenderType
-
Picks whichever concrete type actually performs best for the platform this process is currently running on, decided once, at appender construction time, not re-checked afterward.
- Automatic Exception Rendering - Section in Overview
- AvajePropertiesProvider - Class in io.jstach.rainbowgum.avaje
-
Makes avaje provide properties to RainbowGum.
- AvajePropertiesProvider() - Constructor for class io.jstach.rainbowgum.avaje.AvajePropertiesProvider
-
For service loader.
B
- BASIC - Enum constant in enum class io.jstach.rainbowgum.LogEvent.Caller.CallerType
-
Caller info is computed as a single stack frame (class, method, line).
- BASIC - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternConfig.CacheType
-
The default cache.
- BLACK - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI black color
- BLUE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI blue color
- BOLD_BLUE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI boldBlue color
- BOLD_CYAN - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI boldCyan color
- BOLD_GREEN - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI boldGreen color
- BOLD_MAGENTA - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI boldMagenta color
- BOLD_RED - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI boldRed color
- BOLD_WHITE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI boldWhite color
- BOLD_YELLOW - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI boldYellow color
- buffer(LogEncoder.BufferHints) - Method in class io.jstach.rainbowgum.LogEncoder.AbstractEncoder
- buffer(LogEncoder.BufferHints) - Method in interface io.jstach.rainbowgum.LogEncoder
-
Creates a new buffer.
- buffer(LogEncoder.BufferHints) - Method in class io.jstach.rainbowgum.pattern.format.PatternEncoder
- BUFFER_SIZE_NAME - Static variable in interface io.jstach.rainbowgum.LogPublisherRegistry
-
Buffer Size property name.
- BUFFER_SIZE_PROPERTY - Static variable in class io.jstach.rainbowgum.LogPublisher.AsyncLogPublisher.Builder
-
Buffer Size Property for Async publishers.
- BUFFER_SIZE_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogPublisherRegistry
-
Buffer Size Property for Async publishers.
- BUFFER_TRIMMED - Enum constant in enum class io.jstach.rainbowgum.LogMetrics.StandardMetric
- BUFFER_TRIMMED_METRIC - Static variable in interface io.jstach.rainbowgum.LogMetrics
-
Counter name for the global count of times a reused encoder buffer had its backing storage shrunk back down after growing past its configured max size (see
LogEncoder.Buffer.isOversized()). - bufferHints() - Method in class io.jstach.rainbowgum.LogOutput.AbstractOutputStreamOutput
- bufferHints() - Method in interface io.jstach.rainbowgum.LogOutput
-
Hints to the buffer like what write style of the output and maximum buffer size.
- bufferSize(int) - Method in class io.jstach.rainbowgum.LogPublisher.AsyncLogPublisher.Builder
-
Sets buffer size.
- bufferSize(Integer) - Method in class io.jstach.rainbowgum.disruptor.DisruptorLogBuilder
-
Sets required bufferSize.
- bufferSize(Integer) - Method in class io.jstach.rainbowgum.file.FileOutputBuilder
-
Sets required bufferSize.
- build() - Method in class io.jstach.rainbowgum.disruptor.DisruptorLogBuilder
-
Creates
io.jstach.rainbowgum.LogPublisher.PublisherFactoryfrom this builder. - build() - Method in class io.jstach.rainbowgum.file.FileOutputBuilder
-
Creates
io.jstach.rainbowgum.LogProvider<io.jstach.rainbowgum.file.FileOutput>from this builder. - build() - Method in class io.jstach.rainbowgum.format.StandardEventFormatter.Builder
-
Builds the formatter.
- build() - Method in class io.jstach.rainbowgum.jansi.JansiLogFormatter.Builder
-
Builds.
- build() - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Creates
io.jstach.rainbowgum.json.encoder.EcsEncoderfrom this builder. - build() - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoderBuilder
-
Creates
io.jstach.rainbowgum.json.encoder.GelfEncoderfrom this builder. - build() - Method in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoderBuilder
-
Creates
io.jstach.rainbowgum.json.encoder.LogbackJsonEncoderfrom this builder. - build() - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoderBuilder
-
Creates
io.jstach.rainbowgum.json.encoder.LogstashEncoderfrom this builder. - build() - Method in class io.jstach.rainbowgum.LevelResolver.Builder
-
Builds a level resolver combining
LevelResolver.AbstractBuilder.config(LevelConfig),LevelResolver.AbstractBuilder.level(Level, String), andLevelResolver.Builder.resolver(LevelResolver)into a single resolver of equal priority (the highest severity/most restrictive level found for a logger name wins), and, if anyfallbackswere added, wrapping that in a priority chain where the fallbacks are only consulted for logger names the combined resolver above has no opinion on (resolves toSystem.Logger.Level.ALL). - build() - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Builds.
- build() - Method in class io.jstach.rainbowgum.LogConfig.Builder
-
Builds LogConfig which will use the
ServiceLoaderif set to load missing components and if not set will use static defaults. - build() - Method in class io.jstach.rainbowgum.LogEncoder.Builder
-
Builds the encoder.
- build() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Will create a generic log formatter that has the inner formatters coalesced if possible and will noop if there are no formatters.
- build() - Method in class io.jstach.rainbowgum.LogFormatter.ThrowableFormatter.Builder
-
Builds the formatter.
- build() - Method in class io.jstach.rainbowgum.LogProperties.Builder
-
Builds LogProperties based on builder config.
- build() - Method in class io.jstach.rainbowgum.LogProperties.MutableLogProperties.Builder
-
Builds a mutable log properties.
- build() - Method in class io.jstach.rainbowgum.LogPublisher.AbstractBuilder
-
Creates publisher provider.
- build() - Method in class io.jstach.rainbowgum.LogPublisher.AsyncLogPublisher.Builder
- build() - Method in class io.jstach.rainbowgum.LogPublisher.SyncLogPublisher.Builder
-
Build a publisher provider.
- build() - Method in class io.jstach.rainbowgum.pattern.format.PatternCompiler.Builder
-
Creates a pattern compiler.
- build() - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
Creates
io.jstach.rainbowgum.pattern.format.PatternConfigfrom this builder. - build() - Method in class io.jstach.rainbowgum.pattern.format.PatternEncoderBuilder
-
Creates
io.jstach.rainbowgum.LogProvider<io.jstach.rainbowgum.LogEncoder>from this builder. - build() - Method in class io.jstach.rainbowgum.RainbowGum.Builder
-
Builds an un-started
RainbowGum. - build() - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
Creates
io.jstach.rainbowgum.LogProvider<io.jstach.rainbowgum.rolling.RollingFileOutput>from this builder. - build() - Method in class io.jstach.rainbowgum.simple.props.SimpleProperties.Builder
-
Builds the
SimpleProperties. - build(LogFormatter, LogFormatter, LogFormatter, LogFormatter, LogFormatter, LogFormatter, LogFormatter) - Static method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
Creates the standard default TTLL layout.
- builder() - Static method in class io.jstach.rainbowgum.format.StandardEventFormatter
-
Create
StandardEventFormatterbuilder. - builder() - Static method in class io.jstach.rainbowgum.jansi.JansiLogFormatter
-
Builder.
- builder() - Static method in interface io.jstach.rainbowgum.LevelResolver
-
Level resolver builder.
- builder() - Static method in interface io.jstach.rainbowgum.LogConfig
-
Creates a builder for making LogConfig.
- builder() - Static method in interface io.jstach.rainbowgum.LogEncoder
-
Creates a builder for an encoder backed by the default TTLL (
StandardEventFormatter) formatter. - builder() - Static method in interface io.jstach.rainbowgum.LogFormatter
- builder() - Static method in interface io.jstach.rainbowgum.LogFormatter.ThrowableFormatter
-
Creates a builder for a throwable formatter that can limit the number of stack frame lines shown for each throwable in the cause/suppressed chain, exclude frames matching regular expressions, and append packaging data.
- builder() - Static method in interface io.jstach.rainbowgum.LogProperties
-
LogProperties builder.
- builder() - Static method in interface io.jstach.rainbowgum.LogProperties.MutableLogProperties
-
Builder for MutableLogProperties.
- builder() - Static method in interface io.jstach.rainbowgum.LogPublisher.AsyncLogPublisher
-
Async publisher builder.
- builder() - Static method in interface io.jstach.rainbowgum.LogPublisher.SyncLogPublisher
-
Sync publisher builder.
- builder() - Static method in interface io.jstach.rainbowgum.pattern.format.PatternCompiler
-
Creates a pattern compiler builder.
- builder() - Static method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Creates a builder to create formatter config.
- builder() - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Use to build a custom
RainbowGumwhich will use theLogConfigprovided by the service loader. - builder() - Static method in class io.jstach.rainbowgum.scopedkeyvalues.ScopedKeyValues
-
Creates a builder to push a new layer of key values, fetched fresh from whichever
ScopedKeyValuesProvideris active. - builder() - Method in interface io.jstach.rainbowgum.scopedkeyvalues.spi.ScopedKeyValuesProvider
-
Creates a fresh
ScopedKeyValues.Builderfor one layer of key values. - builder() - Static method in class io.jstach.rainbowgum.simple.props.SimpleProperties
-
Creates a builder.
- builder(LogConfig) - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Use to build a custom
RainbowGumwith supplied config. - builder(LogFormatter) - Static method in interface io.jstach.rainbowgum.LogEncoder
-
Creates a builder for an encoder backed by the given formatter.
- builder(String) - Static method in interface io.jstach.rainbowgum.LogAppender
-
Creates a builder.
- builder(String) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Creates a builder to create formatter config.
- builder(String) - Static method in class io.jstach.rainbowgum.pattern.format.PatternEncoder
-
Pattern encoder builder.
- builder(String, LogConfig) - Static method in interface io.jstach.rainbowgum.LogRouter.Router
-
Creates a builder from config.
- builder(Consumer) - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Use to build a custom
RainbowGumwith supplied config. - Builder - Section in Overview
- Builder based - Section in Overview
- buildLevelConfigOrNull() - Method in class io.jstach.rainbowgum.LevelResolver.AbstractBuilder
-
Builds the level config based on
LevelResolver.AbstractBuilder.levelConfigsandLevelResolver.AbstractBuilder.levels. - BUILTIN_SCHEME_PREFIX - Static variable in interface io.jstach.rainbowgum.LogPublisherRegistry
-
Because publisher configurators through service provider discovery can replace the default schemes of
LogPublisherRegistry.ASYNC_SCHEME,LogPublisherRegistry.SYNC_SCHEMEall the builtin core providers are prefixed with this value so that they can still be used even if overriden. - Built-in Rolling - Section in Overview
- BYTE_BUFFER - Enum constant in enum class io.jstach.rainbowgum.LogOutput.WriteMethod
-
Prefer calling
LogOutput.write(LogEvent, ByteBuffer, ContentType). - BYTES - Enum constant in enum class io.jstach.rainbowgum.LogOutput.WriteMethod
C
- call() - Method in interface io.jstach.rainbowgum.scopedkeyvalues.ScopedKeyValues.CallableOp
-
Runs the operation.
- call(ScopedKeyValues.CallableOp) - Method in interface io.jstach.rainbowgum.scopedkeyvalues.ScopedKeyValues.Builder
-
Pushes this layer and calls
bodyfor its duration. - CALLER_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging caller info properties prefix.
- callerInfoEnabled(String) - Method in interface io.jstach.rainbowgum.LogConfig.ChangePublisher
-
Whether caller info should be computed for a logger at all, regardless of which non-
LogEvent.Caller.CallerType.NONEstrategy. - Caller Information - Section in Overview
- callerOrNull() - Method in interface io.jstach.rainbowgum.LogEvent
-
Returns info about caller or
nullif not supported. - callerType(String) - Method in interface io.jstach.rainbowgum.LogConfig.ChangePublisher
-
The caller info strategy for a logger, resolved from "logging.caller", independently of
LogConfig.ChangePublisher.allowedChanges(String)/"logging.change". - capacity() - Method in record class io.jstach.rainbowgum.LogAlerts.Stats
-
Returns the value of the
capacityrecord component. - CaseChanging - Annotation Interface in io.jstach.rainbowgum.annotation
-
API documentation marker that the enum or sealed type may add new case values on feature release and thus external API consumers desiring backward compatibility should have a
defaultcase. - cause() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
-
Returns the value of the
causerecord component. - CHANGE_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging change properties prefix.
- changePublisher() - Method in interface io.jstach.rainbowgum.LogConfig
-
An event changePublisher to publish configuration changes.
- Changing Levels at Runtime - Section in Overview
- charset(Charset) - Method in class io.jstach.rainbowgum.pattern.format.PatternEncoderBuilder
-
Sets charset.
- charset(Charset) - Method in class io.jstach.rainbowgum.LogEncoder.Builder
-
Charset to encode with.
- charsetOrNull() - Method in interface io.jstach.rainbowgum.LogOutput.ContentType
-
The charset the bytes are encoded with, or
nullif there is no single fixed charset for this content type. - CHECK - Enum constant in enum class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder.InitOption
-
(default) Will check if there are implementations of
RainbowGumServiceProvider.RainbowGumEagerLoadand if there are not will load rainbow gum. - checkEnabled(System.Logger.Level, System.Logger.Level) - Static method in interface io.jstach.rainbowgum.LevelResolver
-
Statically checks if requested level is greater than or equal to the logger level based on LevelResolver rules.
- CLASS - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- className() - Method in interface io.jstach.rainbowgum.LogEvent.Caller
- cleanHistoryOnStart(Boolean) - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
Sets required cleanHistoryOnStart.
- clear() - Method in class io.jstach.rainbowgum.json.JsonBuffer
- clear() - Method in interface io.jstach.rainbowgum.LevelResolver
-
Clears any caching of levels.
- clear() - Method in interface io.jstach.rainbowgum.LogAlerts
-
Clears the ring buffer.
- clear() - Method in interface io.jstach.rainbowgum.LogEncoder.Buffer
-
Prepare the buffer for reuse.
- clear() - Method in class io.jstach.rainbowgum.output.ListLogOutput
-
Clears the currently stored events.
- clearMdc() - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- clearNdc() - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- close() - Method in class io.jstach.rainbowgum.disruptor.DisruptorLogPublisher
- close() - Method in class io.jstach.rainbowgum.jul.JULConfigurator
- close() - Method in interface io.jstach.rainbowgum.LogAppender
- close() - Method in interface io.jstach.rainbowgum.LogEncoder.Buffer
-
Convenience that will call clear.
- close() - Method in interface io.jstach.rainbowgum.LogLifecycle
- close() - Method in class io.jstach.rainbowgum.LogOutput.AbstractOutputStreamOutput
- close() - Method in interface io.jstach.rainbowgum.LogOutput
-
Will close the output and should only be called by the owning appender.
- close() - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
- close() - Method in class io.jstach.rainbowgum.output.ListLogOutput
- close() - Method in interface io.jstach.rainbowgum.RainbowGum
-
Will close the RainbowGum and all registered components as well as removed from the shutdown hooks.
- close() - Method in interface io.jstach.rainbowgum.ServiceRegistry
- CLR - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.SpringBootKey
- COMMA - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Helper for writing comma separator: ,
- Commons Logging (jcl) - Section in Overview
- compile(String) - Method in interface io.jstach.rainbowgum.pattern.format.PatternCompiler
-
Compiles a pattern into a formatter.
- concat(LogFormatter.StaticFormatter) - Method in record class io.jstach.rainbowgum.LogFormatter.StaticFormatter
-
Creates a new formatter by concat the
LogFormatter.StaticFormatter.content(). - concatKey(String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Concats a key using
LogProperties.SEPto the root prefix. - concatKey(String, String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Concats a keys using
LogProperties.SEPas the separator. - config() - Method in interface io.jstach.rainbowgum.LogConfig.ConfigSupport
-
Provides config.
- config() - Method in class io.jstach.rainbowgum.LogRouter.Router.Builder
-
Gets the currently bound config.
- config() - Method in interface io.jstach.rainbowgum.RainbowGum
-
The config associated with this instance.
- config(LevelResolver.LevelConfig) - Method in class io.jstach.rainbowgum.LevelResolver.AbstractBuilder
-
Adds a level config.
- config(LogProperties, String) - Method in class io.jstach.rainbowgum.LevelResolver.AbstractBuilder
-
Adds a level config based on properties and will use the prefix as the root.
- Config - Section in Overview
- Config Change during runtime - Section in Overview
- configurator(RainbowGumServiceProvider.Configurator) - Method in class io.jstach.rainbowgum.LogConfig.Builder
-
Add to configure LogConfig and ServiceRegistry.
- CONFIGURATOR_PASSES - Static variable in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider.Configurator
-
The default amount of passes made to resolve configurators.
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.avaje.AvajePropertiesProvider
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.disruptor.DisruptorConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.jansi.JAnsiConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoderConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoderConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoderConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.jul.JULConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.pattern.format.spi.PatternKeywordProvider
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.rolling.RollingConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.scopedkeyvalues.provider.ScopedKeyValuesConfigurator
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in class io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService
- configure(LogConfig, RainbowGumServiceProvider.Pass) - Method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider.Configurator
-
Do ad-hoc initialization before RainbowGum is fully loaded.
- Configuring io.jstach.rainbowgum.pattern.format.PatternConfig - Section in package io.jstach.rainbowgum.pattern.format
- Configuring PatternConfig with Properties - Section in Overview
- Console - Section in Overview
- CONSOLE_APPENDER_NAME - Static variable in interface io.jstach.rainbowgum.LogAppender
-
Default Console appender name.
- CONSOLE_ERR - Enum constant in enum class io.jstach.rainbowgum.LogOutput.OutputType
-
Standard err.
- CONSOLE_OUT - Enum constant in enum class io.jstach.rainbowgum.LogOutput.OutputType
-
Standard out.
- content() - Method in record class io.jstach.rainbowgum.LogFormatter.StaticFormatter
-
Returns the value of the
contentrecord component. - Contents - Section in Overview
- contentType() - Method in interface io.jstach.rainbowgum.LogOutput.ContentType
-
Content type of binary datay passed to output.
- contentType(LogOutput.ContentType) - Method in class io.jstach.rainbowgum.LogEncoder.Builder
-
Content type reported to the output.
- convert() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
-
Helper just to cast the result to a different parameterized type.
- convert() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
-
Helper just to cast the result to a different parameterized type.
- copy() - Method in interface io.jstach.rainbowgum.KeyValues.MutableKeyValues
-
Copies.
- copy(PatternConfigBuilder, PatternConfig) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Copies the config to builder.
- copyProperties(String) - Method in class io.jstach.rainbowgum.LogProperties.MutableLogProperties.Builder
-
Parses a string as
Propertiesuseful for unit testing with Java multiline string literal. - copyToMap() - Method in interface io.jstach.rainbowgum.KeyValues
-
Copies the KeyValues to a Map.
- count() - Method in record class io.jstach.rainbowgum.LogMetrics.Counter
-
Returns the value of the
countrecord component. - Counter(String, System.Logger.Level, long) - Constructor for record class io.jstach.rainbowgum.LogMetrics.Counter
-
Creates an instance of a
Counterrecord class. - counters() - Method in interface io.jstach.rainbowgum.LogMetrics
-
A snapshot of every counter recorded via
LogMetrics.errorCounter(String, long)andLogMetrics.warnCounter(String, long). - create(LogPublisher, LevelResolver, String, LogConfig) - Method in interface io.jstach.rainbowgum.LogRouter.Router.RouterFactory
-
Builder will call this factory if passed in.
- create(PatternConfig, PatternKeyword) - Method in interface io.jstach.rainbowgum.pattern.format.PatternFormatterFactory.KeywordFactory
-
Creates a formatter from a keyword.
- create(PatternConfig, PatternKeyword, LogFormatter) - Method in interface io.jstach.rainbowgum.pattern.format.PatternFormatterFactory.CompositeFactory
-
Creates a formatter from a keyword.
- create(String, LogConfig, LogAppender.Appenders) - Method in interface io.jstach.rainbowgum.LogPublisher.PublisherFactory
-
Create the log publisher from config and appenders.
- currentMerged() - Static method in class io.jstach.rainbowgum.scopedkeyvalues.ScopedKeyValues
-
Every currently pushed layer, merged into one map - later (more-deeply-nested) pushes win on a key collision.
- currentMerged() - Method in interface io.jstach.rainbowgum.scopedkeyvalues.spi.ScopedKeyValuesProvider
-
Every currently pushed layer, merged into one map - later (more deeply nested) pushes win on a key collision.
- Custom Keywords and Programmatic Configuration - Section in Overview
- CYAN - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI cyan color
D
- DATE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- debug(String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- debug(String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- debug(String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- debug(String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- debug(String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- debug(Marker, String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(Marker, String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- debug(Marker, String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(Marker, String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- debug(Marker, String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(Marker, String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- debug(Marker, String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(Marker, String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- debug(Marker, String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- debug(Marker, String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- decorate(RainbowGum, LoggerDecoratorService.DepthAwareLogger, int) - Method in class io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService
-
Decorate a logger.
- decorate(LoggingEventBuilder, Marker) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
-
Called with the already-populated builder (message, arguments and cause already set from whatever convenience method arity the caller used).
- DEFAULT_BUFFER_SIZE - Static variable in class io.jstach.rainbowgum.disruptor.DisruptorConfigurator
-
Default size of disruptor ring buffer.
- DEFAULT_BUFFER_SIZE - Static variable in interface io.jstach.rainbowgum.file.FileOutput
-
Default file buffer size.
- DEFAULT_CAPACITY - Static variable in interface io.jstach.rainbowgum.LogAlerts
-
Default capacity of the alert ring buffer.
- DEFAULT_CLEAN_HISTORY_ON_START - Static variable in interface io.jstach.rainbowgum.rolling.RollingFileOutput
-
Default for whether archive pruning (
maxHistory/totalSizeCap) also runs once atLogOutput.start(LogConfig), not just after each roll. - DEFAULT_ENV_PREFIX - Static variable in class io.jstach.rainbowgum.simple.props.SimpleProperties.Builder
-
Default environment variable prefix: "RAINBOWGUM_".
- DEFAULT_FILE_NAME_PATTERN - Static variable in interface io.jstach.rainbowgum.rolling.RollingFileOutput
-
Default
fileNamePattern- the literal text appended directly after the active file's own path (unlike Logback, never containing the base file name itself) with%isubstituted for the rotation index, e.g. - DEFAULT_INITIAL_JSON_CAPACITY - Static variable in class io.jstach.rainbowgum.json.JsonBuffer
-
Default initial capacity of the raw JSON byte buffer, matching what this class has always used - big enough that most events never need to grow it.
- DEFAULT_INITIAL_MESSAGE_CAPACITY - Static variable in class io.jstach.rainbowgum.json.JsonBuffer
-
Default initial capacity of
JsonBuffer.getFormattedMessageBuilder(). - DEFAULT_MAX_FILE_SIZE - Static variable in interface io.jstach.rainbowgum.rolling.RollingFileOutput
-
Default max file size in bytes before a roll is triggered - 10MB, matching Logback/Spring Boot's own default.
- DEFAULT_MAX_HISTORY - Static variable in interface io.jstach.rainbowgum.rolling.RollingFileOutput
-
Default number of archives to retain - 7, matching Logback/Spring Boot's own default.
- DEFAULT_NAME - Static variable in interface io.jstach.rainbowgum.LogProperties
-
For properties keys that are parameterized with "name" the name often used if not specified is: "default".
- DEFAULT_RESOURCE - Static variable in class io.jstach.rainbowgum.simple.props.SimpleProperties.Builder
-
Default classpath resource: "classpath:/logging.properties".
- DEFAULT_ROUTER_NAME - Static variable in interface io.jstach.rainbowgum.LogRouter.Router
-
The router name given if no router is explicitly declared.
- DEFAULT_SCHEME - Static variable in interface io.jstach.rainbowgum.LogPublisherRegistry
-
This is the URI scheme for the default publisher.
- DEFAULT_SERVICE_NAME - Static variable in interface io.jstach.rainbowgum.ServiceRegistry
-
Services that do not have multiple options or need a default should use "default".
- DEFAULT_TIME_FRACTIONAL_DIGITS - Static variable in class io.jstach.rainbowgum.json.encoder.GelfEncoder
-
Default number of fractional second digits the
_timefield is rendered with, seeGelfEncoder.of(String, String, Map, Boolean, Integer, Integer). - DEFAULT_TOTAL_SIZE_CAP - Static variable in interface io.jstach.rainbowgum.rolling.RollingFileOutput
-
Default total archive size cap in bytes.
- defaultKeyValues() - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Key values to use for the next event created by this factory when a caller does not supply an explicit
KeyValues. - defaultLevel() - Method in interface io.jstach.rainbowgum.LevelResolver.LevelConfig
-
The default level if no level is found.
- defaults() - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Provides the service loader default based RainbowGum.
- delegate() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
-
The downstream logger to forward calls to.
- delegate() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
-
The wrapped logger that ultimately receives log calls.
- delegate() - Method in interface io.jstach.rainbowgum.slf4j.WrappingLogger
-
The downstream logger to forward calls to.
- describe() - Method in interface io.jstach.rainbowgum.LogProperty.Result
-
A description of the result for error messages.
- describe() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
- describe() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
- describe(String) - Method in interface io.jstach.rainbowgum.LogProvider
-
Wraps with an error description.
- describe(Function) - Method in interface io.jstach.rainbowgum.LogProvider
-
Wraps with an error description.
- description - Variable in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
description
- description(String) - Method in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
Description for properties.
- description(String) - Method in interface io.jstach.rainbowgum.LogProperties
-
Describes a key and by default is usually just the key.
- description(String) - Method in enum class io.jstach.rainbowgum.LogProperties.StandardProperties
- Description - Section in Overview
- descriptionForKey(String, String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Standard way to produce description for a key.
- descriptionForResource(String, String, String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Standard way to produce description for a key found in a resource (a file or similar), without a line number.
- descriptionForResource(String, String, String, long) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Standard way to produce description for a key found in a resource (a file or similar) at a known index, usually a line number.
- DISABLE_IMMEDIATE_FLUSH - Enum constant in enum class io.jstach.rainbowgum.LogAppender.AppenderFlag
-
By default the appender will call flush on each item appended or if in async batch mode for each batch.
- disableAnsi(boolean) - Method in class io.jstach.rainbowgum.jansi.JansiLogFormatter.Builder
-
If true will disable ansi escape characters regardless of JAnsi.
- DISABLED - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternConfig.CacheType
-
No caching - every call recomputes.
- DISRUPTOR_SCHEME - Static variable in class io.jstach.rainbowgum.disruptor.DisruptorConfigurator
-
The URI scheme for the DisruptorLogPublisher
- DisruptorConfigurator - Class in io.jstach.rainbowgum.disruptor
-
Registers
DisruptorLogPublisherto the defaultLogPublisherRegistry.ASYNC_SCHEMEwhich makes it the default async publisher provider. - DisruptorConfigurator() - Constructor for class io.jstach.rainbowgum.disruptor.DisruptorConfigurator
-
No-Arg constructor for ServiceLoader.
- DisruptorLogBuilder - Class in io.jstach.rainbowgum.disruptor
-
Builder to create
LogPublisher.PublisherFactory. - DisruptorLogBuilder(String) - Constructor for class io.jstach.rainbowgum.disruptor.DisruptorLogBuilder
-
Create a builder for
io.jstach.rainbowgum.LogPublisher.PublisherFactory. - DisruptorLogPublisher - Class in io.jstach.rainbowgum.disruptor
-
Disruptor async publisher.
- doBuffer(LogEncoder.BufferHints) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoder
- doBuffer(LogEncoder.BufferHints) - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoder
- doBuffer(LogEncoder.BufferHints) - Method in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoder
- doBuffer(LogEncoder.BufferHints) - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoder
- doBuffer(LogEncoder.BufferHints) - Method in class io.jstach.rainbowgum.LogEncoder.AbstractEncoder
-
Create a specific buffer implementation.
- documentBaseUrl() - Static method in class io.jstach.rainbowgum.annotation.RainbowGumVersion
-
Resolves the Rainbow Gum documentation URL based on
RainbowGumVersion.VERSION. - doEncode(LogEvent, JsonBuffer) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoder
- doEncode(LogEvent, JsonBuffer) - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoder
- doEncode(LogEvent, JsonBuffer) - Method in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoder
- doEncode(LogEvent, JsonBuffer) - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoder
- doEncode(LogEvent, T) - Method in class io.jstach.rainbowgum.LogEncoder.AbstractEncoder
-
A type safe version of
LogEncoder.AbstractEncoder.encode(LogEvent, Buffer). - drain(LogOutput, LogEvent) - Method in class io.jstach.rainbowgum.json.JsonBuffer
- drain(LogOutput, LogEvent) - Method in interface io.jstach.rainbowgum.LogEncoder.Buffer
-
The appender will call this usually within a lock to transfer content from the buffer to the output.
- dump() - Method in interface io.jstach.rainbowgum.LogAlerts
-
A snapshot of the alerts currently held in the ring buffer, oldest first.
- DUMP - Enum constant in enum class io.jstach.rainbowgum.LogAlerts.UnobservedErrorsAction
-
Default.
E
- ECS_SCHEME - Static variable in class io.jstach.rainbowgum.json.encoder.EcsEncoder
-
ECS encoder URI scheme.
- ECS_VERSION - Static variable in class io.jstach.rainbowgum.json.encoder.EcsEncoder
-
The ECS schema version this encoder targets.
- EcsEncoder - Class in io.jstach.rainbowgum.json.encoder
-
A JSON encoder in Elastic Common Schema (ECS) logging format.
- EcsEncoderBuilder - Class in io.jstach.rainbowgum.json.encoder
-
Builder to create
EcsEncoder. - EcsEncoderBuilder(String) - Constructor for class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Create a builder for
io.jstach.rainbowgum.json.encoder.EcsEncoder. - EcsEncoderConfigurator - Class in io.jstach.rainbowgum.json.encoder
-
Adds Elastic Common Schema (ECS) JSON Encoder to encoder registry with "ecs" URI scheme.
- EcsEncoderConfigurator() - Constructor for class io.jstach.rainbowgum.json.encoder.EcsEncoderConfigurator
-
Default constructor for service loader.
- ECS JSON Encoder - Section in Overview
- EMPTY - Enum constant in enum class io.jstach.rainbowgum.LogFormatter.KeyValueNullStrategy
-
A
nullvalue is normalized to an empty string, so the key is always printed askey=(with nothing after the=) regardless of whether the underlying value wasnullor actually an empty string. - EMPTY - Enum constant in enum class io.jstach.rainbowgum.LogProperties.StandardProperties
-
Empty properties.
- encode(LogEvent, LogEncoder.Buffer) - Method in class io.jstach.rainbowgum.LogEncoder.AbstractEncoder
- encode(LogEvent, LogEncoder.Buffer) - Method in interface io.jstach.rainbowgum.LogEncoder
-
Encodes an event to the buffer.
- encode(LogEvent, LogEncoder.Buffer) - Method in class io.jstach.rainbowgum.pattern.format.PatternEncoder
- ENCODED_MDC - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
-
RainbowGum's own percent-encoded (RFC 3986 URI query) MDC style, e.g.
- encodedKeyValue(String, String) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Creates a formatter that will print a single key value in percent encoding (RFC 3986 URI aka the format usually used in
URI.getQuery()). - encodedKeyValues() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Creates a formatter that will print ALL of the key values by percent encoding (RFC 3986 URI aka the format usually used in
URI.getQuery()). - encodedKeyValues(List) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Creates a formatter that will print the key values in order of the passed in keys if they exist in percent encoding (RFC 3986 URI aka the format usually used in
URI.getQuery()), preserving thenull/empty-string distinction for a key whose value isnull(LogFormatter.KeyValueNullStrategy.KEEP- most key values, e.g. - encodedKeyValues(List, LogFormatter.KeyValueNullStrategy) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Creates a formatter that will print the key values in order of the passed in keys if they exist in percent encoding (RFC 3986 URI aka the format usually used in
URI.getQuery()), handling keys whose value isnull(or simply absent - the two are indistinguishable, seeLogFormatter.KeyValueNullStrategy) according tonullStrategy. - encoder() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Creates the formatter and starts an encoder builder from it - call
LogEncoder.Builder.build()to finish, optionally configuring charset, content type, max buffer size, or initial buffer size first. - encoder(LogEncoder) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Sets encoder.
- encoder(LogProvider) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Sets encoder.
- ENCODER_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging output prefix for configuration.
- encoderForOutputType(LogOutput.OutputType) - Method in interface io.jstach.rainbowgum.LogEncoderRegistry
-
Associates a default formatter with a specific output type.
- encoderRegistry() - Method in interface io.jstach.rainbowgum.LogConfig
-
Provides encoders by URI scheme.
- Encoders - Section in Overview
- ENVIRONMENT_VARIABLES - Enum constant in enum class io.jstach.rainbowgum.LogProperties.StandardProperties
-
Uses
System.getenv(String)forLogProperties.valueOrNull(String).TheLogProperties.order()is300which is the same value as MicroProfile config ordinal. - envPrefix(String) - Method in class io.jstach.rainbowgum.simple.props.SimpleProperties.Builder
-
Sets the environment variable prefix used in place of the key's
"logging."lead segment (for examplelogging.level.rootbecomesRAINBOWGUM_level_rootwith the default prefix). - equals(KeyValues, KeyValues) - Static method in interface io.jstach.rainbowgum.KeyValues
-
Checks if two
KeyValuesare equal. - equals(Object) - Method in record class io.jstach.rainbowgum.LogAlerts.Stats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jstach.rainbowgum.LogFormatter.StaticFormatter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jstach.rainbowgum.LogMetrics.Counter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jstach.rainbowgum.pattern.Padding
-
Indicates whether some other object is "equal to" this one.
- error(LogEvent) - Method in interface io.jstach.rainbowgum.LogAlerts
-
Records an alert.
- error(Class, String, Throwable) - Method in interface io.jstach.rainbowgum.LogAlerts
-
Records an alert.
- error(Class, Throwable) - Method in interface io.jstach.rainbowgum.LogAlerts
-
Records an alert.
- error(String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- error(String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- error(String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- error(String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- error(String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- error(Marker, String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(Marker, String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- error(Marker, String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(Marker, String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- error(Marker, String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(Marker, String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- error(Marker, String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(Marker, String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- error(Marker, String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- error(Marker, String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- Error(String, String, Exception) - Constructor for record class io.jstach.rainbowgum.LogProperty.Result.Error
-
Creates an instance of a
Errorrecord class. - errorCounter(String, long) - Method in interface io.jstach.rainbowgum.LogMetrics
-
Increments a counter for something worth tracking as "this happens and it matters".
- errorName() - Method in exception class io.jstach.rainbowgum.LogProperty.PropertyConvertException
- errorName() - Method in exception class io.jstach.rainbowgum.LogProperty.PropertyMissingException
- errorName() - Method in interface io.jstach.rainbowgum.LogProperty.PropertyProblem
-
A short, stable name for this problem used in error messages instead of the exception's full (and for a nested class,
$-separated) class name. - errorName() - Method in exception class io.jstach.rainbowgum.LogProperty.ValidationException
- errorName() - Method in exception class io.jstach.rainbowgum.LogProviderRef.NotFoundException
- ESB - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.SpringBootKey
-
Spring Boot converter that surrounds property in square brackets.
- ESCAPE - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Helper for writing JSON escape: \\
- event(LogFormatter.EventFormatter) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Adds an event formatter.
- eventArgs(System.Logger.Level, String, KeyValues, Object[]) - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Like
LogEventFactory.eventArgs(Level, String, KeyValues, Object[], Throwable)with no throwable. - eventArgs(System.Logger.Level, String, KeyValues, Object[], Throwable) - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Creates a log event with an array of message arguments.
- eventArgs(System.Logger.Level, String, Object[]) - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Like
LogEventFactory.eventArgs(Level, String, KeyValues, Object[], Throwable)but usingLogEventFactory.defaultKeyValues()and no throwable. - eventArgs(System.Logger.Level, String, Object[], Throwable) - Method in interface io.jstach.rainbowgum.LogEventFactory
- Event based Filtering - Section in Overview
- eventDataset(String) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Sets eventDataset.
- eventFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
Combined formatter.
- eventLogger(String) - Method in interface io.jstach.rainbowgum.LogRouter.RootRouter
-
The sink to dispatch events to for a logger name, with no level based gating - unlike
LogRouter.route(String, java.lang.System.Logger.Level), the returnedLogEventLoggeralways acceptsLogEventLogger.log(LogEvent)regardless of what level is currently enabled. - eventNoArg(System.Logger.Level, String, KeyValues, Throwable) - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Creates a log event whose message is already formatted (no arguments).
- eventNoArg(System.Logger.Level, String, Throwable) - Method in interface io.jstach.rainbowgum.LogEventFactory
- eventOneArg(System.Logger.Level, String, KeyValues, Object) - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Creates a log event with a single message argument.
- eventOneArg(System.Logger.Level, String, Object) - Method in interface io.jstach.rainbowgum.LogEventFactory
- events() - Method in class io.jstach.rainbowgum.output.ListLogOutput
-
The arraylist that contains the logged events so far.
- EVENTS_DROPPED - Enum constant in enum class io.jstach.rainbowgum.LogMetrics.StandardMetric
- EVENTS_DROPPED_METRIC - Static variable in interface io.jstach.rainbowgum.LogMetrics
-
Counter name for the global count of log events dropped without ever being written anywhere - for example an appender dropping events on reentry.
- EVENTS_FAILED - Enum constant in enum class io.jstach.rainbowgum.LogMetrics.StandardMetric
- EVENTS_FAILED_METRIC - Static variable in interface io.jstach.rainbowgum.LogMetrics
-
Counter name for the global count of log events an appender failed to write - the encoder or output threw while appending, so the event was caught, alerted (see
LogAlerts.error(Class, String, Throwable)), and lost rather than retried. - eventTwoArg(System.Logger.Level, String, KeyValues, Object, Object) - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Creates a log event with two message arguments.
- eventTwoArg(System.Logger.Level, String, Object, Object) - Method in interface io.jstach.rainbowgum.LogEventFactory
- Example Configuration - Section in Overview
- excludes(List) - Method in class io.jstach.rainbowgum.LogFormatter.ThrowableFormatter.Builder
-
Regular expressions matched with
Matcher.find()against each frame'sStackTraceElement.toString(). - exists() - Static method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider.RainbowGumEagerLoad
-
Without loading service providers will carefully check for the existence of any
RainbowGumServiceProvider.RainbowGumEagerLoadimplementations. - EXTENDED_F - Static variable in class io.jstach.rainbowgum.json.JsonBuffer
-
A flag to indicate this field is extended which means it will be prefixed with
JsonBuffer.ExtendedFieldPrefix. - EXTENDED_THROWABLE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- Extension development guide - Section in Overview
- Extensions and Integrations - Section in Overview
- External Tool Support (logrotate) - Section in Overview
F
- factory(LogRouter.Router.RouterFactory) - Method in class io.jstach.rainbowgum.LogRouter.Router.Builder
-
Factory to use for creating the router.
- FAIL - Enum constant in enum class io.jstach.rainbowgum.LogAlerts.UnobservedErrorsAction
-
Same reporting as
LogAlerts.UnobservedErrorsAction.DUMP, but then throws, soLogConfig.Builder.build()(and therefore whatever is building aRainbowGumfrom it) never completes. - fallback(LevelResolver) - Method in class io.jstach.rainbowgum.LevelResolver.Builder
-
Adds a lower priority fallback level resolver.
- fallbacks - Variable in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
fallbacks
- FALSE - Enum constant in enum class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder.InitOption
-
Will not initialize rainbow gum.
- FAQ - Section in Overview
- FILE - Enum constant in enum class io.jstach.rainbowgum.LogOutput.OutputType
-
Output targets a file.
- FILE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- FILE_APPENDER_NAME - Static variable in interface io.jstach.rainbowgum.LogAppender
-
Default output file appender name.
- FILE_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging file property for default single file appending.
- FILE_SCHEME - Static variable in interface io.jstach.rainbowgum.LogOutput
-
File URI scheme.
- fileName(String) - Method in class io.jstach.rainbowgum.file.FileOutputBuilder
-
Sets fileName.
- fileName(String) - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
Sets fileName.
- fileNameOrNull() - Method in interface io.jstach.rainbowgum.LogEvent.Caller
- fileNamePattern(String) - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
Sets required fileNamePattern.
- FileOutput - Interface in io.jstach.rainbowgum.file
-
An output that is designed for writing to a file.
- File Output - Section in Overview
- FileOutputBuilder - Class in io.jstach.rainbowgum.file
-
Builder to create
LogProvider<FileOutput>. - FileOutputBuilder(String) - Constructor for class io.jstach.rainbowgum.file.FileOutputBuilder
-
Create a builder for
io.jstach.rainbowgum.LogProvider<io.jstach.rainbowgum.file.FileOutput>. - Filtering - Section in Overview
- find(Class) - Method in interface io.jstach.rainbowgum.ServiceRegistry
-
Finds all services of a specific type.
- findGlobalProperties() - Static method in interface io.jstach.rainbowgum.LogProperties
-
Finds global properties by checking the currently bound rainbow gum and if not set use system properties.
- findGlobalProperties(Supplier) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Finds global properties by checking the currently bound rainbow gum and if not set use the supplier as the fallback.
- findOrNull(Class) - Method in interface io.jstach.rainbowgum.ServiceRegistry
-
Finds a service with the default name of "default" or null.
- findOrNull(Class, String) - Method in interface io.jstach.rainbowgum.ServiceRegistry
-
Finds a service or null.
- findOrNull(String, String, BiFunction) - Method in interface io.jstach.rainbowgum.LogProperties
-
Searches up a "." separated path using this properties to check for values.
- findProviders(ServiceLoader, Class) - Static method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider
-
Finds service providers based on type.
- findUpPathOrNull(String, Function) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Searches a "." separated property path recursing up the path till a non null value (not missing) is found.
- FIRST - Enum constant in enum class io.jstach.rainbowgum.spi.RainbowGumServiceProvider.Pass
-
First pass.
- flag(LogAppender.AppenderFlag) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Adds a flag.
- flag(LogRouter.RouteFlag) - Method in class io.jstach.rainbowgum.LogRouter.Router.Builder
-
Adds a flag.
- flags(Collection) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Sets appender flags.
- flatten(List) - Static method in interface io.jstach.rainbowgum.LogProvider
-
Flattens a list of providers to a single provider of a list.
- flush() - Method in class io.jstach.rainbowgum.LogOutput.AbstractOutputStreamOutput
- flush() - Method in interface io.jstach.rainbowgum.LogOutput
-
Flushes if the output is maintaining a buffer.
- flush() - Method in interface io.jstach.rainbowgum.LogOutputRegistry
-
Attempts to flush all outputs usually for log rotation.
- flush() - Method in class io.jstach.rainbowgum.output.ListLogOutput
- forEach(KeyValues.KeyValuesConsumer, int, V) - Method in interface io.jstach.rainbowgum.KeyValues
-
Used to easily iterate over the key value pairs without using an iterator.
- forEach(Class, BiConsumer) - Method in interface io.jstach.rainbowgum.ServiceRegistry
-
Finds all services of a specific type.
- forEach(BiConsumer) - Method in interface io.jstach.rainbowgum.KeyValues
-
Used to easily iterate over the key value pairs without using an iterator.
- forKey(String) - Method in interface io.jstach.rainbowgum.LogProperties
-
Starts resolving a property under key against this properties - the preferred entry point for looking up and converting a property, see
LogProperty. - forKey(String, String) - Method in interface io.jstach.rainbowgum.LogProperties
-
Starts resolving a property under key, with a
{name}placeholder in key interpolated to nameParam, against this properties. - format(StringBuilder, LogEvent) - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
- format(StringBuilder, LogEvent) - Method in class io.jstach.rainbowgum.jansi.JansiLogFormatter
- format(StringBuilder, LogEvent) - Method in interface io.jstach.rainbowgum.LogFormatter.EventFormatter
- format(StringBuilder, LogEvent) - Method in interface io.jstach.rainbowgum.LogFormatter
-
Formats a log event.
- format(StringBuilder, LogEvent) - Method in interface io.jstach.rainbowgum.LogFormatter.LevelFormatter
- format(StringBuilder, LogEvent) - Method in enum class io.jstach.rainbowgum.LogFormatter.NoopFormatter
- format(StringBuilder, LogEvent) - Method in record class io.jstach.rainbowgum.LogFormatter.StaticFormatter
- format(StringBuilder, LogEvent) - Method in interface io.jstach.rainbowgum.LogFormatter.ThrowableFormatter
- format(StringBuilder, LogEvent) - Method in interface io.jstach.rainbowgum.LogFormatter.TimestampFormatter
- format(StringBuilder, CharSequence) - Method in record class io.jstach.rainbowgum.pattern.Padding
-
Pads the input sequence based on this instance of padding info.
- format(StringBuilder, String, Object) - Method in interface io.jstach.rainbowgum.LogMessageFormatter
-
Formats and appends the results.
- format(StringBuilder, String, Object, Object) - Method in interface io.jstach.rainbowgum.LogMessageFormatter
-
Formats and appends the results.
- formatArray(StringBuilder, String, Object[]) - Method in interface io.jstach.rainbowgum.LogMessageFormatter
-
Formats and appends the result.
- formatArray(StringBuilder, String, Object[], int) - Method in interface io.jstach.rainbowgum.LogMessageFormatter
-
Formats and appends the result.
- formatLevel(StringBuilder, System.Logger.Level) - Method in interface io.jstach.rainbowgum.LogFormatter.LevelFormatter
-
Formats the level.
- formatLevel(StringBuilder, System.Logger.Level) - Method in enum class io.jstach.rainbowgum.LogFormatter.NoopFormatter
- formatLevel(System.Logger.Level) - Method in interface io.jstach.rainbowgum.LogFormatter.LevelFormatter
-
Formats a level.
- formattedMessage(StringBuilder) - Method in interface io.jstach.rainbowgum.LogEvent
-
Appends the formatted message.
- formattedMessage(StringBuilder, String) - Method in interface io.jstach.rainbowgum.LogEvent
-
Appends the formatted message.
- formatter(LogFormatter) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Sets formatter as encoder.
- formatter(LogFormatter.EventFormatter) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Sets formatter as encoder.
- Formatters - Section in Overview
- formatThrowable(StringBuilder, Throwable) - Method in enum class io.jstach.rainbowgum.LogFormatter.NoopFormatter
- formatThrowable(StringBuilder, Throwable) - Method in interface io.jstach.rainbowgum.LogFormatter.ThrowableFormatter
-
Formats a throwable and appends.
- formatTimestamp(StringBuilder, Instant) - Method in enum class io.jstach.rainbowgum.LogFormatter.NoopFormatter
- formatTimestamp(StringBuilder, Instant) - Method in interface io.jstach.rainbowgum.LogFormatter.TimestampFormatter
-
Format timestamp.
- ForwardingLogger - Interface in io.jstach.rainbowgum.slf4j
-
A logger that forwards calls to the
ForwardingLogger.delegate()logger. - freeze() - Method in interface io.jstach.rainbowgum.KeyValues
-
Makes the KeyValues thread safe either by copying or returning if already immutable.
- freeze() - Method in interface io.jstach.rainbowgum.LogEvent.Caller
-
Make the caller info immutable.
- freeze() - Method in interface io.jstach.rainbowgum.LogEvent
-
Freeze will return a LogEvent that is safe to use in a different thread.
- freeze(Instant) - Method in interface io.jstach.rainbowgum.LogEvent
-
Freeze and replace with the given timestamp.
- fromFunction(Function) - Method in class io.jstach.rainbowgum.LogProperties.Builder
-
Sets what is called on
LogProperties.valueOrNull(String). - fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.disruptor.DisruptorLogBuilder
- fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.file.FileOutputBuilder
- fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
- fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoderBuilder
- fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoderBuilder
- fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoderBuilder
- fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Fills in whatever of flags/appender type is not already explicitly set on this builder from properties keyed under
LogAppender.Builder.propertyPrefix()for this builder's name; an already-set field always wins over the property, matching every other generated builder'sfromPropertiesin this project. - fromProperties(LogProperties) - Method in interface io.jstach.rainbowgum.LogBuilder
-
Will try to convert string key values to parameters needed by the builder.
- fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
- fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.pattern.format.PatternEncoderBuilder
- fromProperties(LogProperties) - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
- fromProperties(LogProperties, LogProviderRef) - Method in interface io.jstach.rainbowgum.LogBuilder
-
Will try to convert string key values to parameters needed by the builder.
- fromProperties(String) - Method in class io.jstach.rainbowgum.LogProperties.Builder
-
Parses a string as
Properties. - fromURIQuery(URI) - Method in class io.jstach.rainbowgum.LogProperties.Builder
-
Parses a string as a URI query string.
G
- GELF_SCHEME - Static variable in class io.jstach.rainbowgum.json.encoder.GelfEncoder
-
GELF encoder URI scheme.
- GelfEncoder - Class in io.jstach.rainbowgum.json.encoder
-
A JSON encoder in GELF JSON format.
- GelfEncoderBuilder - Class in io.jstach.rainbowgum.json.encoder
-
Builder to create
GelfEncoder. - GelfEncoderBuilder(String) - Constructor for class io.jstach.rainbowgum.json.encoder.GelfEncoderBuilder
-
Create a builder for
io.jstach.rainbowgum.json.encoder.GelfEncoder. - GelfEncoderConfigurator - Class in io.jstach.rainbowgum.json.encoder
- GelfEncoderConfigurator() - Constructor for class io.jstach.rainbowgum.json.encoder.GelfEncoderConfigurator
-
Default constructor for service loader.
- GELF JSON Encoder - Section in Overview
- GeneratedByATrustedSource - Annotation Interface in io.jstach.rainbowgum.annotation
-
Indicates a class that was copied from another trusted open source project and does not need test coverage.
- getFormattedMessageBuilder() - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Reusable String buffer for formatted messages.
- getLogger(String) - Method in class io.jstach.rainbowgum.avaje.RainbowGumAppLog
- getLogger(String) - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- getLogger(String, Module) - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder
- getLogger(String, ResourceBundle) - Method in class io.jstach.rainbowgum.avaje.RainbowGumAppLog
- getLoggerFactory() - Method in class io.jstach.rainbowgum.slf4j.RainbowGumSLF4JServiceProvider
- getMarkerFactory() - Method in class io.jstach.rainbowgum.slf4j.RainbowGumSLF4JServiceProvider
- getMdc(String) - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- getMDCAdapter() - Method in class io.jstach.rainbowgum.slf4j.RainbowGumSLF4JServiceProvider
- getMdcMap() - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- getName() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- getName() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- getName() - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
- getNdc() - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- getNdcDepth() - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- getOrNull() - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Gets the currently statically bound RainbowGum or
nullif none are finished binding. - getOrNull(String) - Method in interface io.jstach.rainbowgum.pattern.format.PatternRegistry
-
Gets the formatter factory for the pattern key.
- getRequestedApiVersion() - Method in class io.jstach.rainbowgum.slf4j.RainbowGumSLF4JServiceProvider
- Getting Started - Section in Overview
- getValueOrNull(String) - Method in interface io.jstach.rainbowgum.KeyValues
-
Analogous to
Map.get(Object) - global() - Static method in interface io.jstach.rainbowgum.LogRouter
-
Global router which is always available.
- GLOBAL_ANSI_DISABLE_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Will globally turn of any ANSI escape output as well disable extensions that do things for ANSI escape like JANSI.
- GLOBAL_APPENDER_REENTRANT_LOCK_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
If true guarantees no appender will use
synchronizedfor its locking, regardless of an explicitly requestedLogAppender.AppenderType.SYNCHRONIZED_THREAD_LOCAL_BUFFER: an explicit request for that type is downgraded toLogAppender.AppenderType.LOCK_THREAD_LOCAL_BUFFERinstead of being honored. - GLOBAL_CHANGE_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging change configuration allowed property.
- GLOBAL_OPTIMIZE_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Opts every appender/encoder that has not been given an explicit choice into whatever this release currently believes is the best buffering/locking strategy for the platform the process is actually running on, instead of the fixed defaults (
LogAppender.AppenderType.LOCK_THREAD_LOCAL_BUFFER, aCharsetEncoder-based encode) used otherwise. - GLOBAL_QUEUE_ERROR_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
The level threshold of events that will be outputted to standard error if Rainbow Gum is not bound yet. events that are below
INFOare not queued. - GLOBAL_QUEUE_LEVEL_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
The level threshold of events captured before Rainbow Gum is fully bound.
- GLOBAL_THREADLOCAL_DISABLED_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
A global, process-wide guarantee of no
ThreadLocalanywhere in the logging path, for deployments that want that guaranteed independent of per-appender/per-module configuration. - GLOBAL_VERBOSE - Static variable in interface io.jstach.rainbowgum.LogProperties
-
IF true will provide additional output on errors.
- GraalVM Native Image - Section in Overview
- Gradle - Section in Overview
- GRAY - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI gray color
- GREEN - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI green color
- GROUP_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Group property with list of logger names.
- GROUPS_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Enabled level groups.
H
- hashCode() - Method in record class io.jstach.rainbowgum.LogAlerts.Stats
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jstach.rainbowgum.LogFormatter.StaticFormatter
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jstach.rainbowgum.LogMetrics.Counter
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jstach.rainbowgum.pattern.Padding
-
Returns a hash code value for this object.
- hasMessage() - Method in interface io.jstach.rainbowgum.LogEvent
-
If the event has a message or not.
- headers(Map) - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoderBuilder
-
Sets headers.
- HIGHLIGHT - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
A special color composite key that will highlight based on logger level.
- host(String) - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoderBuilder
-
Sets required host.
- How it works - Section in Overview
I
- IGNORE_GLOBAL_LEVEL_RESOLVER - Enum constant in enum class io.jstach.rainbowgum.LogRouter.RouteFlag
-
The route will not use the global level resolver and will only use the level config directly on the router.
- Implicit default configuration - Section in Overview
- info(String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- info(String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- info(String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- info(String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- info(String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- info(Marker, String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(Marker, String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- info(Marker, String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(Marker, String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- info(Marker, String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(Marker, String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- info(Marker, String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(Marker, String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- info(Marker, String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- info(Marker, String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- initialBufferSize(int) - Method in class io.jstach.rainbowgum.LogEncoder.Builder
-
The capacity a fresh buffer is allocated with before any event has been encoded into it.
- initialize() - Method in class io.jstach.rainbowgum.slf4j.RainbowGumSLF4JServiceProvider
- initialize(RainbowGum) - Method in class io.jstach.rainbowgum.slf4j.RainbowGumSLF4JServiceProvider
-
For testing Rainbow Gums SLF4J without initializing SLF4J.
- INITIALIZE_RAINBOW_GUM_PROPERTY - Static variable in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder
-
Initialization flag.
- initOption(LogProperties) - Static method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder
-
Gets the init option from properties.
- install(LogProperties) - Static method in class io.jstach.rainbowgum.jul.JULConfigurator
-
Will install the JUL handler if not disabled by properties.
- Installation - Section in Overview
- INSTANCE - Enum constant in enum class io.jstach.rainbowgum.LogFormatter.NoopFormatter
-
instance.
- instanceId() - Method in interface io.jstach.rainbowgum.RainbowGum
-
Unique id of rainbow gum instance.
- interpolateKey(String, Function) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Replaces property key parameters by using the lookup function.
- interpolateKey(String, Map) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Replace "{name}" tokens in property names.
- interpolateNamedKey(String, String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Interpolates a named key which is a property key that has a "name".
- io.jstach.rainbowgum - module io.jstach.rainbowgum
-
Core module for RainbowGum which provides low level components for logging as well as a builder for creating custom RainbowGums.
- io.jstach.rainbowgum - package io.jstach.rainbowgum
-
RainbowGum core components.
- io.jstach.rainbowgum.annotation - module io.jstach.rainbowgum.annotation
-
Rainbowgum Annotations used for code generation.
- io.jstach.rainbowgum.annotation - package io.jstach.rainbowgum.annotation
-
RainbowGum annotations used for static code generation.
- io.jstach.rainbowgum.avaje - module io.jstach.rainbowgum.avaje
-
Uses Avaje Config for LogProperties.
- io.jstach.rainbowgum.avaje - package io.jstach.rainbowgum.avaje
-
Avaje Config Log Properties implemention.
- io.jstach.rainbowgum.bundle - module io.jstach.rainbowgum.bundle
-
RainbowGum default grouping of modules transitively pulled in from Maven and module system.
- io.jstach.rainbowgum.disruptor - module io.jstach.rainbowgum.disruptor
-
EXPERIMENTAL Disruptor async publisher.
- io.jstach.rainbowgum.disruptor - package io.jstach.rainbowgum.disruptor
-
Disruptor publisher.
- io.jstach.rainbowgum.file - module io.jstach.rainbowgum.file
-
File output -
FileOutputregistered under thefileURI scheme - plus bare minimum size based rolling on top of it, seeRollingFileOutputfor the full property list and scope - deliberately does not support calendar/date based rotation or Logback's ownfileNamePatternconventions, only a numbered-suffix (%i) scheme. - io.jstach.rainbowgum.file - package io.jstach.rainbowgum.file
-
File output - see
FileOutput. - io.jstach.rainbowgum.format - package io.jstach.rainbowgum.format
-
Standard Formatters.
- io.jstach.rainbowgum.jansi - module io.jstach.rainbowgum.jansi
-
JANSI module that will install Jansi.
- io.jstach.rainbowgum.jansi - package io.jstach.rainbowgum.jansi
-
JAnsi formatter and initializer.
- io.jstach.rainbowgum.jbosslogging - module io.jstach.rainbowgum.jbosslogging
-
Rainbow Gum JBoss Logging integration: a native
LoggerProviderimplementation, not a bridge through SLF4J. - io.jstach.rainbowgum.jbosslogging - package io.jstach.rainbowgum.jbosslogging
- io.jstach.rainbowgum.jdk - module io.jstach.rainbowgum.jdk
-
Rainbow Gum JDK components.
- io.jstach.rainbowgum.json - module io.jstach.rainbowgum.json
-
Provides JSON encoders.
- io.jstach.rainbowgum.json - package io.jstach.rainbowgum.json
-
JSON related formatters and buffers.
- io.jstach.rainbowgum.json.encoder - package io.jstach.rainbowgum.json.encoder
-
Common JSON encoders like GELF, ECS, Logstash's, and Logback's own JSON format.
- io.jstach.rainbowgum.jul - module io.jstach.rainbowgum.jul
-
Rainbow Gum JUL (
java.util.logging) integration. - io.jstach.rainbowgum.jul - package io.jstach.rainbowgum.jul
-
JUL implementation.
- io.jstach.rainbowgum.output - package io.jstach.rainbowgum.output
-
Standard Outputs.
- io.jstach.rainbowgum.pattern - module io.jstach.rainbowgum.pattern
-
Provides Logback style pattern formatters. The URI scheme of pattern encoders is "pattern".
- io.jstach.rainbowgum.pattern - package io.jstach.rainbowgum.pattern
-
Base types for pattern compiling.
- io.jstach.rainbowgum.pattern.format - package io.jstach.rainbowgum.pattern.format
-
Provides Logback style pattern formatters. The URI scheme of pattern encoders is "pattern".
- io.jstach.rainbowgum.pattern.format.spi - package io.jstach.rainbowgum.pattern.format.spi
-
SPI for adding custom pattern keywords.
- io.jstach.rainbowgum.rolling - package io.jstach.rainbowgum.rolling
-
Bare minimum size based rolling file output - see
RollingFileOutput. - io.jstach.rainbowgum.scopedkeyvalues - module io.jstach.rainbowgum.scopedkeyvalues
-
EXPERIMENTAL A small, self-contained facade for request/task-scoped key values - see
ScopedKeyValues. - io.jstach.rainbowgum.scopedkeyvalues - package io.jstach.rainbowgum.scopedkeyvalues
-
A small, self-contained facade for request/task-scoped key values - see
ScopedKeyValues. - io.jstach.rainbowgum.scopedkeyvalues.provider - module io.jstach.rainbowgum.scopedkeyvalues.provider
-
EXPERIMENTAL The RainbowGum-backed
io.jstach.rainbowgum.scopedkeyvalues.spi.ScopedKeyValuesProviderforio.jstach.rainbowgum.scopedkeyvalues.ScopedKeyValues- request/task-scoped key values backed byjava.lang.ScopedValueinstead ofThreadLocal. - io.jstach.rainbowgum.scopedkeyvalues.provider - package io.jstach.rainbowgum.scopedkeyvalues.provider
-
The RainbowGum-backed
ScopedKeyValuesProvider, usingjava.lang.ScopedValuefor storage, plus theRainbowGumServiceProviderthat wires the result intorainbowgum-slf4j. - io.jstach.rainbowgum.scopedkeyvalues.spi - package io.jstach.rainbowgum.scopedkeyvalues.spi
-
The single extension point
ScopedKeyValuesdiscovers viaServiceLoader. - io.jstach.rainbowgum.simple.props - module io.jstach.rainbowgum.simple.props
-
Loads
LogPropertiesfrom system properties, environment variables, and a classpathlogging.propertiesresource. - io.jstach.rainbowgum.simple.props - package io.jstach.rainbowgum.simple.props
-
A simple
LogPropertiessource loadingclasspath:/logging.properties, system properties, and environment variables - seeSimplePropertiesfor priority and the environment variable naming convention. - io.jstach.rainbowgum.slf4j - module io.jstach.rainbowgum.slf4j
-
SLF4J 2.0 implementation.
- io.jstach.rainbowgum.slf4j - package io.jstach.rainbowgum.slf4j
-
SLF4J implementation.
- io.jstach.rainbowgum.slf4j.spi - package io.jstach.rainbowgum.slf4j.spi
-
SLF4J specific rainbowgum services providers.
- io.jstach.rainbowgum.spi - package io.jstach.rainbowgum.spi
-
SPI for RainbowGum.
- io.jstach.rainbowgum.spring.boot.spi - module io.jstach.rainbowgum.spring.boot.spi
-
Rainbow Gum Spring SPI: shared by
io.jstach.rainbowgum.spring.boot3andio.jstach.rainbowgum.spring.boot4. - io.jstach.rainbowgum.spring.boot.spi - package io.jstach.rainbowgum.spring.boot.spi
-
Spring Rainbow Gum SPI.
- io.jstach.rainbowgum.spring.boot3 - module io.jstach.rainbowgum.spring.boot3
-
Rainbow Gum Spring Boot 3 integration.
- io.jstach.rainbowgum.spring.boot3.starter - module io.jstach.rainbowgum.spring.boot3.starter
-
Spring Boot 3 Rainbow Gum Integration.
- io.jstach.rainbowgum.spring.boot4 - module io.jstach.rainbowgum.spring.boot4
-
Rainbow Gum Spring Boot 4 integration.
- io.jstach.rainbowgum.spring.boot4.actuator - module io.jstach.rainbowgum.spring.boot4.actuator
-
Rainbow Gum Spring Boot 4 Actuator/Micrometer integration.
- io.jstach.rainbowgum.spring.boot4.starter - module io.jstach.rainbowgum.spring.boot4.starter
-
Spring Boot 4 Rainbow Gum Integration.
- io.jstach.rainbowgum.systemlogger - module io.jstach.rainbowgum.systemlogger
-
This module provides a partial System.Logger implementation.
- io.jstach.rainbowgum.systemlogger - package io.jstach.rainbowgum.systemlogger
-
Rainbow Gum System Logger implementation.
- io.jstach.rainbowgum.tomcat - module io.jstach.rainbowgum.tomcat
-
Rainbow Gum Tomcat logging implementation usually for Spring Boot.
- isAnsiSupported() - Static method in class io.jstach.rainbowgum.format.AnsiSupport
-
Determines if ANSI escape codes are likely supported by the current process's standard output.
- isChangeable(String) - Method in interface io.jstach.rainbowgum.LogRouter.RootRouter
-
If a logger name configuration is changeable.
- isDebugEnabled() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isDebugEnabled() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isDebugEnabled(Marker) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isDebugEnabled(Marker) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isEmpty() - Method in interface io.jstach.rainbowgum.KeyValues
-
Analogous to
Map.isEmpty(). - isEnabled() - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
- isEnabled() - Method in interface io.jstach.rainbowgum.LogRouter.Route
-
Determines if
LogEventLogger.log(LogEvent)maybe called. - isEnabled(String) - Method in interface io.jstach.rainbowgum.LogConfig.ChangePublisher
-
Test to see if any changes are enabled for a logger - either
LogConfig.ChangePublisher.allowedChanges(String)is non-empty orLogConfig.ChangePublisher.callerType(String)is notLogEvent.Caller.CallerType.NONE. - isEnabled(String, System.Logger.Level) - Method in interface io.jstach.rainbowgum.LevelResolver
-
Convenience method that checks if the loggers resolved level is less than the passed in level.
- isEnabled(Level, Marker) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
-
Cheap pre-check run before any
LoggingEventBuilderis built, analogous toisInfoEnabled()/isInfoEnabled(Marker). - isEnabledForLevel(Level) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isEnabledForLevel(Level) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isErrorEnabled() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isErrorEnabled() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isErrorEnabled(Marker) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isErrorEnabled(Marker) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isExceptionFormatter() - Method in interface io.jstach.rainbowgum.pattern.format.PatternFormatterFactory
-
Whether this factory's formatter renders (or, like
%nopex, deliberately suppresses) a throwable, and thus counts as the pattern having addressed exception rendering itself. - isInfoEnabled() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isInfoEnabled() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isInfoEnabled(Marker) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isInfoEnabled(Marker) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isInstalled() - Static method in class io.jstach.rainbowgum.jul.JULConfigurator
-
Will test if already installed.
- isLoggable(System.Logger.Level) - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
- isNoop() - Method in interface io.jstach.rainbowgum.LogFormatter
-
Ask the formatter if will do anything.
- isNoopOrNull(LogFormatter) - Static method in interface io.jstach.rainbowgum.LogFormatter
-
Tests if the log formatter is noop or is null which will be considered as noop.
- isOversized() - Method in class io.jstach.rainbowgum.json.JsonBuffer
- isOversized() - Method in interface io.jstach.rainbowgum.LogEncoder.Buffer
-
Whether this buffer has grown large enough (its capacity, not how much of that capacity the last event actually used) that its backing storage is worth shrinking back down rather than kept at its grown size indefinitely - reused buffers only grow on their own, they never shrink back down without deliberate help.
- isTraceEnabled() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isTraceEnabled() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isTraceEnabled(Marker) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isTraceEnabled(Marker) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isWarnEnabled() - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isWarnEnabled() - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- isWarnEnabled(Marker) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- isWarnEnabled(Marker) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
J
- JANSI_DISABLE - Static variable in class io.jstach.rainbowgum.jansi.JAnsiConfigurator
-
Jansi disable property.
- JAnsiConfigurator - Class in io.jstach.rainbowgum.jansi
-
JAnsi Configurator which will install JAnsi.
- JAnsiConfigurator() - Constructor for class io.jstach.rainbowgum.jansi.JAnsiConfigurator
-
No Arg for service loader.
- JansiLogFormatter - Class in io.jstach.rainbowgum.jansi
-
Jansi TTLL formater.
- JansiLogFormatter.Builder - Class in io.jstach.rainbowgum.jansi
-
Jansi log formatter builder.
- JAnsi support (largely legacy) - Section in Overview
- java.lang.System.Logger and java.util.logging - Section in Overview
- JBoss Logging - Section in Overview
- JsonBuffer - Class in io.jstach.rainbowgum.json
-
A buffer designed for encoding JSON efficiently.
- JsonBuffer(boolean, JsonBuffer.ExtendedFieldPrefix, int) - Constructor for class io.jstach.rainbowgum.json.JsonBuffer
-
Create a JSON buffer.
- JsonBuffer.ExtendedFieldPrefix - Enum Class in io.jstach.rainbowgum.json
-
Extended fields are just fields that have some special prefix for things like GELF and ECS.
- JsonBuffer.JSONToken - Enum Class in io.jstach.rainbowgum.json
-
JSON tokens.
- JSON Encoders - Section in Overview
- JUL - Enum constant in enum class io.jstach.rainbowgum.LogMessageFormatter.StandardMessageFormatter
-
java.util.logging MessageFormat style.
- JUL_DISABLE_PROPERTY - Static variable in class io.jstach.rainbowgum.jul.JULConfigurator
-
If true will not install the JUL handler.
- JUL_LEVEL_DISABLE_PROPERTY - Static variable in class io.jstach.rainbowgum.jul.JULConfigurator
-
If true will not set the root loggers level to whatever the curreint rainbow gums global level default is.
- JULConfigurator - Class in io.jstach.rainbowgum.jul
-
Will install the JUL handler if the
java.loggingmodule is available and is not alreadyi installed. - JULConfigurator() - Constructor for class io.jstach.rainbowgum.jul.JULConfigurator
-
For service laoder.
K
- KEEP - Enum constant in enum class io.jstach.rainbowgum.LogFormatter.KeyValueNullStrategy
-
The
null/empty-string distinction is preserved: anullvalue prints just the key with no=, while an empty string printskey=. - key() - Method in interface io.jstach.rainbowgum.LogProperty
-
The first key tried.
- key() - Method in exception class io.jstach.rainbowgum.LogProperty.PropertyConvertException
-
Property key.
- key() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
-
Returns the value of the
keyrecord component. - key() - Method in interface io.jstach.rainbowgum.LogProperty.Result.Success
-
Original property key where the value was derived from or was passed a fallback.
- key() - Method in interface io.jstach.rainbowgum.pattern.format.PatternRegistry.PatternKeyProvider
-
Key
- keyOrNull() - Method in interface io.jstach.rainbowgum.LogProviderRef
-
Property key from where the URI came from or
null. - keyParameters(String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Extract key parameters with
LogProperties.PARAMETER_PATTERN. - keys() - Method in interface io.jstach.rainbowgum.LogProperty
-
Every key tried, in order - the first key given to
LogProperties.forKey(String)/LogProperties.forKey(String, String)followed by any added viaLogProperty.or(String)/LogProperty.or(String, String). - keys() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
-
Returns the value of the
keysrecord component. - keyValue(String, String) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Creates a formatter that will print a single key's value, Logback/Log4j2
%X{key}style: just the raw value (or the fallback, or an empty string if neither is present) - no key prefix, no percent encoding. - keyValues() - Method in interface io.jstach.rainbowgum.LogEvent
-
Key values that usually come from MDC or an SLF4J Event Builder.
- keyValues() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Creates a formatter that will print ALL of the key values the same way Logback's
%X/%mdcdoes: comma-space separatedkey=valuepairs with no surrounding braces (unlike Log4j2, which wraps the same pairs in{}), and no percent encoding. - keyValues() - Method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
The key values added to this builder so far (including any inherited from MDC).
- keyValues(List) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Creates a formatter that will print the key values in order of the passed in keys if they exist, Logback
%Xstyle (seeLogFormatter.Builder.keyValues()for the exact format). - keyValues(LoggingEventBuilder) - Static method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
The key values added to the builder so far, if possible.
- KeyValues - Interface in io.jstach.rainbowgum
-
Key Value Pairs similar to a
Map<String,String>but optimized for memory and less garbage (no iterators). - KeyValues.KeyValuesConsumer<V> - Interface in io.jstach.rainbowgum
-
A special consumer that avoids lambda garbage.
- KeyValues.MutableKeyValues - Interface in io.jstach.rainbowgum
-
KeyValues that can be updated.
- keyValuesFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
mutable field
- keyValuesFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
immutable field
- keyValuesFormatter(LogFormatter) - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
Sets the key values formatter.
- keyword() - Method in interface io.jstach.rainbowgum.pattern.PatternKeyword
-
Keyword used in pattern.
- keyword(PatternRegistry.PatternKey, PatternFormatterFactory.KeywordFactory) - Method in interface io.jstach.rainbowgum.pattern.format.PatternRegistry
-
Convenience function for
PatternRegistry.register(PatternKey, PatternFormatterFactory)as keyword factory is a lambda.
L
- LAST - Enum constant in enum class io.jstach.rainbowgum.spi.RainbowGumServiceProvider.Pass
-
The last pass to return true otherwise Rainbow Gum will fail to load.
- leftPad() - Method in record class io.jstach.rainbowgum.pattern.Padding
-
Returns the value of the
leftPadrecord component. - leftTruncate() - Method in record class io.jstach.rainbowgum.pattern.Padding
-
Returns the value of the
leftTruncaterecord component. - level() - Method in interface io.jstach.rainbowgum.LogEvent
-
The logging level.
- level() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Adds the default level formatter.
- level() - Method in record class io.jstach.rainbowgum.LogMetrics.Counter
-
Returns the value of the
levelrecord component. - level() - Method in enum class io.jstach.rainbowgum.LogMetrics.StandardMetric
-
Which counter method this metric is recorded through -
System.Logger.Level.ERRORforLogMetrics.errorCounter(String, long),System.Logger.Level.WARNINGforLogMetrics.warnCounter(String, long)- and so also whichLogMetrics.Counter.level()it shows up under inLogMetrics.counters(). - level(System.Logger.Level) - Method in class io.jstach.rainbowgum.LevelResolver.AbstractBuilder
-
Sets a level for all loggers.
- level(System.Logger.Level, String) - Method in class io.jstach.rainbowgum.LevelResolver.AbstractBuilder
-
Sets a logger to a level.
- LEVEL - Enum constant in enum class io.jstach.rainbowgum.LogConfig.ChangePublisher.ChangeType
-
The logger is allowed to change levels.
- LEVEL - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- LEVEL_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging level properties prefix.
- levelConfigs - Variable in class io.jstach.rainbowgum.LevelResolver.AbstractBuilder
-
level configs.
- levelFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
mutable field
- levelFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
immutable field
- levelFormatter(LogFormatter) - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
Sets the level formatter.
- Level Groups - Section in Overview
- levelOrNull(String) - Method in interface io.jstach.rainbowgum.LevelResolver.LevelConfig
-
Returns a level exactly matching a logger name.
- levelResolver() - Method in interface io.jstach.rainbowgum.LogConfig
-
Level resolver for resolving levels from logger names.
- levelResolver() - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
- levelResolver() - Method in interface io.jstach.rainbowgum.LogRouter.RootRouter
-
Level resolver to find levels for a log name.
- levelResolver() - Method in interface io.jstach.rainbowgum.LogRouter.Router
-
Level resolver.
- LevelResolver - Interface in io.jstach.rainbowgum
-
Resolves levels from logger names.
- LevelResolver.AbstractBuilder<T> - Class in io.jstach.rainbowgum
-
Abstract level resolver builder.
- LevelResolver.Builder - Class in io.jstach.rainbowgum
-
Level resolver builder.
- LevelResolver.LevelConfig - Interface in io.jstach.rainbowgum
-
A special resolver that has direct mappings of logger name to level via
LevelResolver.LevelConfig.levelOrNull(String). - Level Resolvers - Section in Overview
- levels - Variable in class io.jstach.rainbowgum.LevelResolver.AbstractBuilder
-
levels
- Limitations - Section in Overview
- LINE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- lineNumber() - Method in interface io.jstach.rainbowgum.LogEvent.Caller
- LINESEP - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- lineSeparator() - Method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Line separator for %n by default uses
System.lineSeparator(). - lineSeparator(String) - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
Sets lineSeparator.
- LIST_OUTPUT_SCHEME - Static variable in interface io.jstach.rainbowgum.LogOutputRegistry
-
The URI scheme for list provider.
- ListLogOutput - Class in io.jstach.rainbowgum.output
-
An output for debugging.
- ListLogOutput() - Constructor for class io.jstach.rainbowgum.output.ListLogOutput
-
Creates a list output.
- listOrNull(String) - Method in interface io.jstach.rainbowgum.LogProperties
-
Gets a list or null if the key is missing and by default uses
LogProperties.parseList(String). - LOCAL_SEQUENCE_NUMBER - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- LOCK_NEW_BUFFER - Enum constant in enum class io.jstach.rainbowgum.LogAppender.AppenderType
-
Like
LogAppender.AppenderType.LOCK_THREAD_LOCAL_BUFFER(encoding done outside the lock, the lock only guards the final write to the output) except the buffer is allocated fresh for every single event instead of being cached in aThreadLocal. - LOCK_THREAD_LOCAL_BUFFER - Enum constant in enum class io.jstach.rainbowgum.LogAppender.AppenderType
-
The appender will give each thread its own reusable buffer (a
ThreadLocal) instead of allocating a new buffer per event. - log(LogEvent) - Method in class io.jstach.rainbowgum.disruptor.DisruptorLogPublisher
- log(LogEvent) - Method in interface io.jstach.rainbowgum.LogEventLogger
-
Logs events usually without filtering.
- log(LogEvent) - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
- log(LogEvent) - Method in interface io.jstach.rainbowgum.LogRouter.Router
- log(LogEvent) - Method in interface io.jstach.rainbowgum.RainbowGum
-
This append call is mainly for testing as it does not avoid making events that do not need to be made if no logging needs to be done.
- log(System.Logger.Level, String) - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
- log(System.Logger.Level, String, Throwable) - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
- log(System.Logger.Level, Object) - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
- log(System.Logger.Level, ResourceBundle, String, Object...) - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
- log(System.Logger.Level, ResourceBundle, String, Throwable) - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
- log(System.Logger.Level, Supplier) - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
- log(System.Logger.Level, Supplier, Throwable) - Method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
- log(LoggingEventBuilder) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
-
Logs a builder obtained from a
AbstractFilteringLogger.decorate(LoggingEventBuilder, Marker)override that returnedfalse, with caller-info depth adjusted for the extra frames bothAbstractFilteringLogger.decorate(LoggingEventBuilder, Marker)and this method itself add. - LogAlerts - Interface in io.jstach.rainbowgum
-
Alerts (sometimes called errors or status events elsewhere) are for reporting problems with the logging system itself rather than application logging - for example an appender failing to write, or an async publisher's queue overflowing.
- LogAlerts.Listener - Interface in io.jstach.rainbowgum
-
Notified of alerts as they happen.
- LogAlerts.Stats - Record Class in io.jstach.rainbowgum
-
Stats about alerts recorded.
- LogAlerts.UnobservedErrorsAction - Enum Class in io.jstach.rainbowgum
-
What
LogLifecycle.start(LogConfig)does if, at that moment, at least one alert has been recorded and still zeroLogAlerts.Listeners are registered - the situation Logback'sStatusManagercalls an unobserved status: nothing is watching, so whatever went wrong during property loading or aRainbowGumServiceProvider.Configuratorwould otherwise only ever have reached the individual, easy to miss stderr lines eachLogAlerts.error(LogEvent)call already produces. - LogAppender - Interface in io.jstach.rainbowgum
-
Appenders are guaranteed to be written synchronously much like an actor in actor concurrency.
- LogAppender.AppenderFlag - Enum Class in io.jstach.rainbowgum
-
Boolean like flags for appender that can be set with
LogAppender.APPENDER_FLAGS_PROPERTY. - LogAppender.Appenders - Class in io.jstach.rainbowgum
-
Provides appenders safely to the publisher.
- LogAppender.AppenderType - Enum Class in io.jstach.rainbowgum
-
The buffer/locking strategy an appender uses.
- LogAppender.Builder - Class in io.jstach.rainbowgum
-
Builder for creating standard appenders.
- LOGBACK_SCHEME - Static variable in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoder
-
Logback JSON encoder URI scheme.
- LogbackJsonEncoder - Class in io.jstach.rainbowgum.json.encoder
-
A JSON encoder resembling Logback's own opinionated
ch.qos.logback.classic.encoder.JsonEncoder. - Logback JSON Encoder - Section in Overview
- LogbackJsonEncoderBuilder - Class in io.jstach.rainbowgum.json.encoder
-
Builder to create
LogbackJsonEncoder. - LogbackJsonEncoderBuilder(String) - Constructor for class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoderBuilder
-
Create a builder for
io.jstach.rainbowgum.json.encoder.LogbackJsonEncoder. - LogbackJsonEncoderConfigurator - Class in io.jstach.rainbowgum.json.encoder
-
Adds a Logback style JSON encoder to encoder registry with "logback" URI scheme.
- LogbackJsonEncoderConfigurator() - Constructor for class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoderConfigurator
-
Default constructor for service loader.
- LogBuilder<B,
O> - Interface in io.jstach.rainbowgum -
A marker interface for custom or generated builders.
- LogConfig - Interface in io.jstach.rainbowgum
-
The configuration of a RainbowGum.
- LogConfig.Builder - Class in io.jstach.rainbowgum
-
Builder for LogConfig.
- LogConfig.ChangePublisher - Interface in io.jstach.rainbowgum
-
Config Change Publisher.
- LogConfig.ChangePublisher.ChangeType - Enum Class in io.jstach.rainbowgum
-
Changing type options.
- LogConfig.ConfigSupport - Interface in io.jstach.rainbowgum
-
Mixin for config support.
- LogConfigurable - Annotation Interface in io.jstach.rainbowgum.annotation
-
Used to generate Rainbow Gum config builder objects that once built will call the method annotated with the properties from the generated builder on build.
- LogConfigurable.ConvertParameter - Annotation Interface in io.jstach.rainbowgum.annotation
-
Wall call a static method on the factory class (the class that contains the annotated
LogConfigurablemethod) with the property value as a string to be converted. - LogConfigurable.DefaultParameter - Annotation Interface in io.jstach.rainbowgum.annotation
-
Use to set static defaults to parameters.
- LogConfigurable.KeyParameter - Annotation Interface in io.jstach.rainbowgum.annotation
-
Use as parameter to property keys with parameters.
- LogConfigurable.PassThroughParameter - Annotation Interface in io.jstach.rainbowgum.annotation
-
A parameter not to be configured with properties that will just pass through to the build method.
- LogEncoder - Interface in io.jstach.rainbowgum
-
Encodes a
LogEventinto a buffer of its choosing. - LogEncoder.AbstractEncoder<T> - Class in io.jstach.rainbowgum
-
Abstract encoder that will cast the buffer to the desired implementation.
- LogEncoder.Buffer - Interface in io.jstach.rainbowgum
-
Encoders buffer.
- LogEncoder.BufferHints - Interface in io.jstach.rainbowgum
-
Hints the output can pass to the encoder for creating buffers like max size and storage style of the buffer etc.
- LogEncoder.Builder - Class in io.jstach.rainbowgum
-
Builds a
LogEncoderout of aLogFormatter. - LogEncoder.EncoderProvider - Interface in io.jstach.rainbowgum
-
Finds output based on URI.
- LogEncoderRegistry - Interface in io.jstach.rainbowgum
-
Encoder registry.
- LogEvent - Interface in io.jstach.rainbowgum
-
A LogEvent is a container for a single call to a logger.
- LogEvent.Caller - Interface in io.jstach.rainbowgum
-
Caller info usually derived from Stack walking.
- LogEvent.Caller.CallerType - Enum Class in io.jstach.rainbowgum
-
Caller info strategies, resolved from "logging.caller".
- LogEventFactory - Interface in io.jstach.rainbowgum
-
A dynamic version of
LogEvent's static "of" factory methods - same method shapes (level, message, ...), butLogEventFactory.timestamp(),LogEventFactory.threadName(),LogEventFactory.threadId()andLogEventFactory.loggerName()are resolved through overridable methods instead of being passed in on every call/pulled fromInstant.now()/Thread.currentThread()inline the way those static methods do. - LogEventLogger - Interface in io.jstach.rainbowgum
-
Logs events.
- LogFormatter - Interface in io.jstach.rainbowgum
-
Formats a log event using a
StringBuilder. - LogFormatter.Builder - Class in io.jstach.rainbowgum
-
Log formatter builder that is composed of other formatters.
- LogFormatter.EventFormatter - Interface in io.jstach.rainbowgum
-
Generic event formatting that is lambda friendly.
- LogFormatter.KeyValueNullStrategy - Enum Class in io.jstach.rainbowgum
-
Controls how a
nullkey value is handled by formatters that print a selected subset of keys (e.g. - LogFormatter.LevelFormatter - Interface in io.jstach.rainbowgum
-
Formats a
System.Logger.Level. - LogFormatter.NoopFormatter - Enum Class in io.jstach.rainbowgum
-
A special formatter that will do nothing.
- LogFormatter.StaticFormatter - Record Class in io.jstach.rainbowgum
-
A special formatter that will append static text.
- LogFormatter.ThrowableFormatter - Interface in io.jstach.rainbowgum
-
Formats a throwable.
- LogFormatter.ThrowableFormatter.Builder - Class in io.jstach.rainbowgum
-
Builds a configurable
LogFormatter.ThrowableFormatter. - LogFormatter.TimestampFormatter - Interface in io.jstach.rainbowgum
-
Formats event timestamps.
- LOGGER - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- LoggerDecoratorService - Class in io.jstach.rainbowgum.slf4j.spi
-
EXPERIMENTAL: this rainbowgum service provider allows wrapping slf4j loggers created from the logger factory.
- LoggerDecoratorService() - Constructor for class io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService
-
No arg constructor for service loader.
- LoggerDecoratorService.DepthAwareEventBuilder - Interface in io.jstach.rainbowgum.slf4j.spi
-
Because wrapping can change the depth of the logger in the callstack this interface allows implementations to change the depth of the event builder.
- LoggerDecoratorService.DepthAwareLogger - Interface in io.jstach.rainbowgum.slf4j.spi
-
Because wrapping can change the depth of the logger in the callstack this interface allows loggers to recreate themselves with the proper depth if they support it.
- loggerName() - Method in interface io.jstach.rainbowgum.LogEvent
-
Name of logger.
- loggerName() - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Name of the logger every event created by this factory will have.
- loggerName() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Adds the default logger name formatter.
- LOGGING_PATTERN_DISABLE_PROPERTY - Static variable in class io.jstach.rainbowgum.pattern.format.PatternConfigurator
-
Property that will disable this configurator from replacing the default encoder with the pattern encoder.
- LogLifecycle - Interface in io.jstach.rainbowgum
-
A component that has a start and stop.
- LogMessageFormatter - Interface in io.jstach.rainbowgum
-
Formats a LogEvent message.
- LogMessageFormatter.StandardMessageFormatter - Enum Class in io.jstach.rainbowgum
-
Built-in message formatters.
- LogMetrics - Interface in io.jstach.rainbowgum
-
Metrics are cheap, numeric counters about the logging system itself - for example how many events an appender has dropped, or how often a reused encoder buffer had to shrink itself back down.
- LogMetrics.Counter - Record Class in io.jstach.rainbowgum
-
A single named counter's current value, as returned by
LogMetrics.counters(). - LogMetrics.StandardMetric - Enum Class in io.jstach.rainbowgum
-
The fixed, well known set of counters RainbowGum itself records - as opposed to the open ended, per logger name counters
LogAlerts.error(LogEvent)also drives intoLogMetrics.errorCounter(String, long). - LogOutput - Interface in io.jstach.rainbowgum
-
A resource that can be written to usually in binary.
- LogOutput.AbstractOutputStreamOutput - Class in io.jstach.rainbowgum
-
Abstract output on output stream.
- LogOutput.ContentType - Interface in io.jstach.rainbowgum
-
The content type of the binary data passed to the output from an encoder.
- LogOutput.ContentType.StandardContentType - Enum Class in io.jstach.rainbowgum
-
Builtin content types.
- LogOutput.OutputProvider - Interface in io.jstach.rainbowgum
-
Finds output based on URI.
- LogOutput.OutputType - Enum Class in io.jstach.rainbowgum
-
Output type useful for defaults and categorization.
- LogOutput.ThreadSafeLogOutput - Interface in io.jstach.rainbowgum
-
Marker interface that the output is thread safe.
- LogOutput.WriteMethod - Enum Class in io.jstach.rainbowgum
-
The preferred write style of an output.
- LogOutputRegistry - Interface in io.jstach.rainbowgum
-
Register output providers by URI scheme.
- LogProperties - Interface in io.jstach.rainbowgum
-
Provides String based properties like
System.getProperty(String)for default configuration of logging levels and output. - LogProperties.AbstractBuilder<T> - Class in io.jstach.rainbowgum
-
Abstract log properties builder.
- LogProperties.Builder - Class in io.jstach.rainbowgum
-
Builder for properties.
- LogProperties.MutableLogProperties - Interface in io.jstach.rainbowgum
-
A log properties that can be mutated like a map.
- LogProperties.MutableLogProperties.Builder - Class in io.jstach.rainbowgum
-
Mutable Log properties builder.
- LogProperties.StandardProperties - Enum Class in io.jstach.rainbowgum
-
Common static log properties such as System properties ane environment variables.
- LogProperty - Interface in io.jstach.rainbowgum
-
Describes a key (or several fallback keys) resolved against a
LogPropertiesinstance - start withLogProperties.forKey(String)- and also serves as the namespace for the shared property machinery:LogProperty.Result,LogProperty.Validator, and the property-specific exceptions. - LogProperty.PropertyConvertException - Exception Class in io.jstach.rainbowgum
-
Thrown if an error happens while converting a property.
- LogProperty.PropertyFunction<T,
R, - Interface in io.jstach.rainbowgumE> -
An error friendly
Functionfor converting properties. - LogProperty.PropertyMissingException - Exception Class in io.jstach.rainbowgum
-
Throw if property is missing.
- LogProperty.PropertyProblem - Interface in io.jstach.rainbowgum
-
Parent interface for property exceptions.
- LogProperty.PropertySupport - Interface in io.jstach.rainbowgum
-
Property helper mixin.
- LogProperty.RequiredResult<T> - Interface in io.jstach.rainbowgum
-
A result that is not missing and will either be an error or success.
- LogProperty.Result<T> - Interface in io.jstach.rainbowgum
-
The result of a property fetched from properties.
- LogProperty.Result.Error<T> - Record Class in io.jstach.rainbowgum
-
A property that was present but failed conversion.
- LogProperty.Result.Missing<T> - Record Class in io.jstach.rainbowgum
-
A property that is missing (
null). - LogProperty.Result.Success<T> - Interface in io.jstach.rainbowgum
-
A property that is present.
- LogProperty.ValidatedResult<T> - Interface in io.jstach.rainbowgum
-
A
LogProperty.Resultthat is safe to pull a value out of - either because it can never actually be missing (LogProperty.RequiredResult: aLogProperty.Result.Successor anLogProperty.Result.Error, both already resolved one way or the other) or because a caller has explicitly acknowledged the possibility of a still-LogProperty.Result.Missingresult by running it throughLogProperty.Result.validate(Validator),LogProperty.Result.validateIfError(Validator), orLogProperty.Result.validateNow(Class). - LogProperty.ValidationException - Exception Class in io.jstach.rainbowgum
-
Thrown by
LogProperty.Validator.validate()when one or more of the accumulatedLogProperty.Results failed, reporting every failure in a single message instead of just the first one encountered. - LogProperty.Validator - Class in io.jstach.rainbowgum
-
Accumulates
LogProperty.Results from one or more property lookups and validates them together, so that a caller resolving several properties in sequence can report every failure at once instead of failing fast on the first bad property. - LogProvider<T> - Interface in io.jstach.rainbowgum
-
A factory that may need config to provide.
- LogProvider.ProvisionException - Exception Class in io.jstach.rainbowgum
-
Thrown if a provider fails and a description needs to be added.
- LogProviderRef - Interface in io.jstach.rainbowgum
-
Log LogProvider Source.
- LogProviderRef.NotFoundException - Exception Class in io.jstach.rainbowgum
-
Thrown if a provider could not be found for the ref.
- LogPublisher - Interface in io.jstach.rainbowgum
-
Publishers push logs to appenders either synchronously or asynchronously.
- LogPublisher.AbstractBuilder<T> - Class in io.jstach.rainbowgum
-
Abstract publisher builder.
- LogPublisher.AsyncLogPublisher - Interface in io.jstach.rainbowgum
-
Async publisher.
- LogPublisher.AsyncLogPublisher.Builder - Class in io.jstach.rainbowgum
-
Async publisher builder.
- LogPublisher.PublisherFactory - Interface in io.jstach.rainbowgum
-
A factory for a publisher from config and appenders.
- LogPublisher.PublisherProvider - Interface in io.jstach.rainbowgum
-
SPI for custom publishers.
- LogPublisher.SyncLogPublisher - Interface in io.jstach.rainbowgum
-
Synchronous publisher.
- LogPublisher.SyncLogPublisher.Builder - Class in io.jstach.rainbowgum
-
Synchronous publisher builder.
- LogPublisherRegistry - Interface in io.jstach.rainbowgum
-
Registry of publishers.
- LogRouter - Interface in io.jstach.rainbowgum
-
Routes messages to a publisher by providing a
LogRouter.Routefrom a logger name and level. - LogRouter.AbstractRouter - Class in io.jstach.rainbowgum
-
A user supplied router usually for filtering or transforming purposes.
- LogRouter.RootRouter - Interface in io.jstach.rainbowgum
-
Root router is a router that has child routers.
- LogRouter.Route - Interface in io.jstach.rainbowgum
-
A route is similar to a SLF4J Logger or System Logger but has a much simpler contract.
- LogRouter.Route.Routes - Enum Class in io.jstach.rainbowgum
-
Route singletons and utilities.
- LogRouter.RouteFlag - Enum Class in io.jstach.rainbowgum
-
Router flags for adhoc router customization.
- LogRouter.Router - Interface in io.jstach.rainbowgum
-
Router routes messages to a publisher.
- LogRouter.Router.Builder - Class in io.jstach.rainbowgum
-
Router builder.
- LogRouter.Router.RouterFactory - Interface in io.jstach.rainbowgum
-
Creates a router.
- LOGSTASH_SCHEME - Static variable in class io.jstach.rainbowgum.json.encoder.LogstashEncoder
-
Logstash encoder URI scheme.
- LogstashEncoder - Class in io.jstach.rainbowgum.json.encoder
-
A JSON encoder in the format produced by logstash-logback-encoder's
LogstashEncoder. - LogstashEncoderBuilder - Class in io.jstach.rainbowgum.json.encoder
-
Builder to create
LogstashEncoder. - LogstashEncoderBuilder(String) - Constructor for class io.jstach.rainbowgum.json.encoder.LogstashEncoderBuilder
-
Create a builder for
io.jstach.rainbowgum.json.encoder.LogstashEncoder. - LogstashEncoderConfigurator - Class in io.jstach.rainbowgum.json.encoder
-
Adds a logstash-logback-encoder style JSON Encoder to encoder registry with "logstash" URI scheme.
- LogstashEncoderConfigurator() - Constructor for class io.jstach.rainbowgum.json.encoder.LogstashEncoderConfigurator
-
Default constructor for service loader.
- Logstash JSON Encoder - Section in Overview
M
- MAGENTA - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI magenta color
- makeLoggingEventBuilder(Level) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- makeLoggingEventBuilder(Level) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- map(LogProperty.PropertyFunction) - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
- map(LogProperty.PropertyFunction) - Method in interface io.jstach.rainbowgum.LogProperty.Result
-
Maps this result's value through
mapper. - map(LogProperty.PropertyFunction) - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
- mapOrNull(String) - Method in interface io.jstach.rainbowgum.LogProperties
-
Gets a map or null if the key is missing and by default uses
LogProperties.parseMap(String). - mapValue(LogProperty.Result.Success, U) - Static method in interface io.jstach.rainbowgum.LogProperty
-
Rewraps a value that was already derived from success's value, keeping the
PropertySuccess's origin (topProperties/properties/key/rawValue/kind) intact - useful for a conversion step that cannot itself throw, soLogProperty.Result.map(PropertyFunction)would be overkill, but that still needs to keep the result's origin intact for a later conversion step's error message. - Maven - Section in Overview
- max() - Method in record class io.jstach.rainbowgum.pattern.Padding
-
Returns the value of the
maxrecord component. - maxBufferSize(int) - Method in class io.jstach.rainbowgum.LogEncoder.Builder
-
Configures a maximum buffer size - see
LogEncoder.Buffer.isOversized(). - maxBufferSize(Integer) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Sets maxBufferSize.
- maxBufferSize(Integer) - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoderBuilder
-
Sets maxBufferSize.
- maxBufferSize(Integer) - Method in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoderBuilder
-
Sets maxBufferSize.
- maxBufferSize(Integer) - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoderBuilder
-
Sets maxBufferSize.
- maxBufferSize(Integer) - Method in class io.jstach.rainbowgum.pattern.format.PatternEncoderBuilder
-
Sets maxBufferSize.
- maxFileSize(Integer) - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
Sets required maxFileSize.
- maxHistory(Integer) - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
Sets required maxHistory.
- maximumSize() - Method in interface io.jstach.rainbowgum.LogEncoder.BufferHints
-
Maximum size of the buffer.
- maxLines(int) - Method in class io.jstach.rainbowgum.LogFormatter.ThrowableFormatter.Builder
-
Maximum number of stack frame ("at ...") lines printed per throwable in the chain.
- MDC - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- MEMORY - Enum constant in enum class io.jstach.rainbowgum.LogOutput.OutputType
-
Output targets in memory.
- merge(KeyValues, KeyValues) - Static method in interface io.jstach.rainbowgum.KeyValues
-
Creates a key values whose entries are the union of two key values,
hightaking precedence overlowon a key collision. - message() - Method in interface io.jstach.rainbowgum.LogEvent
-
Unformatted message.
- message() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Formats the message by calling
LogEvent.formattedMessage(StringBuilder). - message() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
-
Returns the value of the
messagerecord component. - message() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
-
Returns the value of the
messagerecord component. - message() - Method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
The message set on this builder so far, if any.
- message(LoggingEventBuilder) - Static method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
The message set on the builder so far, if possible.
- MESSAGE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- messageFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
mutable field
- messageFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
immutable field
- messageFormatter() - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Formatter to use for rendering a message when
LogEvent.formattedMessage(StringBuilder)is called on events created by this factory that take arguments. - messageOrNull() - Method in interface io.jstach.rainbowgum.LogEvent
-
Unformatted message or
nullif no message was passed into the event. - METHOD - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- methodName() - Method in interface io.jstach.rainbowgum.LogEvent.Caller
- metricName() - Method in enum class io.jstach.rainbowgum.LogMetrics.StandardMetric
-
The counter name, as passed to
LogMetrics.errorCounter(String, long)/LogMetrics.warnCounter(String, long)and matched againstLogMetrics.Counter.name(). - metrics() - Method in interface io.jstach.rainbowgum.LogConfig
-
Metrics about the logging system itself (as opposed to application logging routed through the
LogRouter). - Metrics - Section in Overview
- MICROS - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- MIDDLE - Enum constant in enum class io.jstach.rainbowgum.spi.RainbowGumServiceProvider.Pass
-
Second or greater pass but not the last pass.
- min() - Method in record class io.jstach.rainbowgum.pattern.Padding
-
Returns the value of the
minrecord component. - Missing(LogProperties, List, String) - Constructor for record class io.jstach.rainbowgum.LogProperty.Result.Missing
-
A property that is missing (
null).
N
- name() - Element in annotation interface io.jstach.rainbowgum.annotation.LogConfigurable
-
Name of builder.
- name() - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Name of the appender.
- name() - Method in record class io.jstach.rainbowgum.LogMetrics.Counter
-
Returns the value of the
namerecord component. - name() - Method in class io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService
-
The name of the decorator and should be unique to avoid collisions.
- NAME - Static variable in interface io.jstach.rainbowgum.LogProperties
-
A common key parameter is called name.
- nameFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
mutable field
- nameFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
immutable field
- nameFormatter(LogFormatter) - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
Sets the logger name formatter.
- NETWORK - Enum constant in enum class io.jstach.rainbowgum.LogOutput.OutputType
-
Output targets something over a network.
- newline() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Appends a newline using the platforms line separator.
- NO_EXCEPTION - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- NONE - Enum constant in enum class io.jstach.rainbowgum.LogAlerts.UnobservedErrorsAction
-
Do nothing beyond what
LogAlerts.error(LogEvent)already does per event. - NONE - Enum constant in enum class io.jstach.rainbowgum.LogConfig.ChangePublisher.ChangeType
-
No changes are allowed.
- NONE - Enum constant in enum class io.jstach.rainbowgum.LogEvent.Caller.CallerType
-
Caller info is not computed.
- noop() - Static method in interface io.jstach.rainbowgum.LogFormatter
-
A special formatter that will do nothing.
- normalizeLevel(System.Logger.Level) - Static method in interface io.jstach.rainbowgum.LevelResolver
-
Will convert ALL to TRACE.
- NotFound - Enum constant in enum class io.jstach.rainbowgum.LogRouter.Route.Routes
-
A route that is a NOOP and is always disabled.
O
- OBJECT_END - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Helper for writing JSON object end: }
- OBJECT_START - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Helper for writing JSON object start: {
- of() - Static method in interface io.jstach.rainbowgum.KeyValues.MutableKeyValues
-
Empty mutable keys with default pre-allocation.
- of() - Static method in interface io.jstach.rainbowgum.KeyValues
-
An immutable empty
KeyValues. - of() - Static method in interface io.jstach.rainbowgum.LogFormatter.LevelFormatter
-
Default implementation calls
LogFormatter.LevelFormatter.toString(Level) - of() - Static method in interface io.jstach.rainbowgum.LogFormatter.ThrowableFormatter
-
Default implementation uses
Throwable.printStackTrace(PrintWriter). - of() - Static method in interface io.jstach.rainbowgum.LogFormatter.TimestampFormatter
-
Formats timestamp using
LogFormatter.TimestampFormatter.TTLL_TIME_FORMAT. - of() - Static method in interface io.jstach.rainbowgum.LogPublisher.PublisherFactory
-
Provides the default publisher factory.
- of() - Static method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Default config.
- of() - Static method in interface io.jstach.rainbowgum.pattern.format.PatternRegistry
-
Creates a pattern registry with the defaults.
- of() - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Gets the currently statically bound RainbowGum and will try to load and find one if there is none currently bound.
- of() - Static method in interface io.jstach.rainbowgum.ServiceRegistry
-
Creates an empty service registry.
- of(int) - Static method in class io.jstach.rainbowgum.disruptor.DisruptorLogPublisher
-
Creates a factory of disruptor log publishers.
- of(int) - Static method in interface io.jstach.rainbowgum.KeyValues.MutableKeyValues
-
Creates mutable keys with pre-allocation.
- of(int, int) - Static method in record class io.jstach.rainbowgum.pattern.Padding
-
Create padding info.
- of(LogFormatter) - Static method in interface io.jstach.rainbowgum.LogEncoder
-
Creates an encoder from a formatter that encodes with
StandardCharsets.UTF_8. - of(LogFormatter) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternFormatterFactory.KeywordFactory
-
Creates a keyword factory from a formatter that only cares about padding info.
- of(LogFormatter.EventFormatter) - Static method in interface io.jstach.rainbowgum.LogFormatter
-
Create a formatter using event formatter that is a lambda so that
LogFormater.of((o, e) -> ...);works. - of(LogFormatter, boolean) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternFormatterFactory.KeywordFactory
-
Creates a keyword factory from a formatter that only cares about padding info, additionally marking it as
PatternFormatterFactory.isExceptionFormatter(). - of(LogProperties, String) - Static method in interface io.jstach.rainbowgum.LogProperty
-
Creates a LogProperty for a single key.
- of(LogProperties, String, String) - Static method in interface io.jstach.rainbowgum.LogProperty
-
Creates a LogProperty for a single key with a
{name}parameter interpolated. - of(LogProperty.Result.Success) - Static method in interface io.jstach.rainbowgum.LogProviderRef
-
Create a provider ref from a property result.
- of(LogProvider) - Static method in interface io.jstach.rainbowgum.LogEncoder.EncoderProvider
-
Convenience method to register encoders that require no configuration.
- of(LogProviderRef) - Static method in interface io.jstach.rainbowgum.file.FileOutput
-
Create output from provider ref.
- of(LogProviderRef) - Static method in interface io.jstach.rainbowgum.LogEncoder
-
Provides a lazy loaded encoder from a provider ref.
- of(LogProviderRef) - Static method in interface io.jstach.rainbowgum.LogOutput
-
Provides a lazy loaded output from a URI.
- of(LogProviderRef) - Static method in interface io.jstach.rainbowgum.LogPublisher.PublisherFactory
-
Provides a lazy loaded publisher from a URI.
- of(LogProviderRef) - Static method in interface io.jstach.rainbowgum.rolling.RollingFileOutput
-
Creates a rolling file output provider from a URI reference - the entry point used by the "rolling" scheme registration.
- of(Class) - Static method in class io.jstach.rainbowgum.LogProperty.Validator
-
Creates a validator whose
LogProperty.ValidationExceptionmessages will be prefixed with the name of the given class. - of(Class, RuntimeException) - Static method in exception class io.jstach.rainbowgum.LogProperty.ValidationException
-
Wraps cause in a
LogProperty.ValidationException, using the same "Validation failed for <class>:" message prefixLogProperty.ValidationException.validate(Class, List)itself uses. - of(StackWalker.StackFrame) - Static method in interface io.jstach.rainbowgum.LogEvent.Caller
-
Creates caller info from a stack frame.
- of(String) - Static method in interface io.jstach.rainbowgum.LogEventFactory
-
Creates a factory bound to the given logger name, otherwise using default behavior for
LogEventFactory.timestamp(),LogEventFactory.threadName(),LogEventFactory.threadId()andLogEventFactory.messageFormatter(). - of(String) - Static method in interface io.jstach.rainbowgum.LogPublisher.PublisherFactory
-
Provides a publisher factory by URI.
- of(String) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternRegistry.PatternKey
-
Creates a pattern key of one key name.
- of(String, LogRouter) - Static method in class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLogger
-
Provides a system logger that will use the given root router.
- of(String, String...) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternRegistry.PatternKey
-
Creates a pattern key of one key and aliases.
- of(String, URI, String, Boolean, Boolean, Integer) - Static method in interface io.jstach.rainbowgum.file.FileOutput
-
Creates a file output provider.
- of(String, URI, String, Integer, Integer, Integer, Boolean, String) - Static method in interface io.jstach.rainbowgum.rolling.RollingFileOutput
-
Creates a rolling file output provider.
- of(String, Charset) - Static method in interface io.jstach.rainbowgum.LogOutput.ContentType
-
Finds the matching
LogOutput.ContentType.StandardContentTypefor the given content type and charset if one exists, otherwise creates a new plainLogOutput.ContentType. - of(URI) - Static method in interface io.jstach.rainbowgum.LogEncoder
-
Provides a lazy loaded encoder from a URI.
- of(URI) - Static method in interface io.jstach.rainbowgum.LogProviderRef
-
Creates a log provider ref from URI.
- of(URI) - Static method in interface io.jstach.rainbowgum.LogPublisher.PublisherFactory
-
Provides a publisher factory by URI.
- of(URI, String) - Static method in interface io.jstach.rainbowgum.LogProviderRef
-
Creates a log provider ref from URI.
- of(URI, String, LogProperties) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Creates log properties from a URI query and provided properties.
- of(URI, String, LogProperties, String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Creates log properties from a URI query and provided properties.
- of(DateTimeFormatter) - Static method in interface io.jstach.rainbowgum.LogFormatter.TimestampFormatter
-
Formats a timestamp using standard JDK date time formatter.
- of(DateTimeFormatter, boolean) - Static method in interface io.jstach.rainbowgum.LogFormatter.TimestampFormatter
-
Formats a timestamp using standard JDK date time formatter.
- of(Instant, String, long, System.Logger.Level, String, String, KeyValues, Throwable) - Static method in interface io.jstach.rainbowgum.LogEvent
-
Creates a log event.
- of(Collection) - Static method in interface io.jstach.rainbowgum.LevelResolver.LevelConfig
-
Creates a level config from a list of level configs.
- of(Collection, ThreadFactory, int, LogAlerts) - Static method in class io.jstach.rainbowgum.disruptor.DisruptorLogPublisher
-
Creates.
- of(Consumer) - Static method in interface io.jstach.rainbowgum.file.FileOutput
-
Creates a file output provider from lambda builder and uses the config properties from the returned log provider.
- of(Consumer) - Static method in class io.jstach.rainbowgum.json.encoder.EcsEncoder
-
Creates an ECS encoder using a lambda for easier registration.
- of(Consumer) - Static method in class io.jstach.rainbowgum.json.encoder.GelfEncoder
-
Creates a GELF encoder using a lambda for easier registration.
- of(Consumer) - Static method in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoder
-
Creates a Logback JSON encoder using a lambda for easier registration.
- of(Consumer) - Static method in class io.jstach.rainbowgum.json.encoder.LogstashEncoder
-
Creates a Logstash encoder using a lambda for easier registration.
- of(Consumer) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternCompiler
-
Creates a pattern compiler provider from a builder lambda.
- of(Consumer) - Static method in class io.jstach.rainbowgum.pattern.format.PatternEncoder
-
Creates a pattern encoder with name of the parent component and will use the properties from the provided config.
- of(Consumer) - Static method in interface io.jstach.rainbowgum.rolling.RollingFileOutput
-
Creates a rolling file output provider from a lambda builder and uses the config properties from the returned log provider - mirrors
FileOutput.of(Consumer). - of(Function) - Static method in interface io.jstach.rainbowgum.LogRouter.Router.RouterFactory
-
Creates a router from a function.
- of(List) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Creates log properties from many log properties.
- of(List, LogProperties) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Creates log properties from many log properties.
- of(Map) - Static method in interface io.jstach.rainbowgum.KeyValues.MutableKeyValues
-
Copies a map into
KeyValues.MutableKeyValues. - of(Map) - Static method in interface io.jstach.rainbowgum.KeyValues
-
Creates an immutable key values by copying a Map.
- of(U) - Static method in interface io.jstach.rainbowgum.LogProvider
-
Creates a provider of instance that is already configured.
- ofAll(Instant, String, long, System.Logger.Level, String, String, KeyValues, Throwable, LogMessageFormatter, Object[]) - Static method in interface io.jstach.rainbowgum.LogEvent
-
Creates a log event with everything specified.
- ofAll(Instant, String, long, System.Logger.Level, String, String, KeyValues, Throwable, LogMessageFormatter, List) - Static method in interface io.jstach.rainbowgum.LogEvent
-
Creates a log event with everything specified.
- ofAsync(Integer) - Static method in interface io.jstach.rainbowgum.LogPublisher.PublisherFactory
-
Provides the default async publisher.
- ofBoolean() - Method in interface io.jstach.rainbowgum.LogProperty
-
Resolves the property as a boolean.
- ofDepthOrNull(int) - Static method in interface io.jstach.rainbowgum.LogEvent.Caller
-
Returns caller from a certain depth or
null - off() - Static method in interface io.jstach.rainbowgum.LevelResolver
-
A level resolver that is off.
- ofInt() - Method in interface io.jstach.rainbowgum.LogProperty
-
Resolves the property as an int.
- ofISO() - Static method in interface io.jstach.rainbowgum.LogFormatter.TimestampFormatter
-
Formats a timestamp using ISO format at fixed millisecond precision (e.g.
- ofList() - Method in interface io.jstach.rainbowgum.LogProperty
-
Resolves the property as a list, using
LogProperties.listOrNull(String). - ofLong() - Method in interface io.jstach.rainbowgum.LogProperty
-
Resolves the property as a long.
- ofMap() - Method in interface io.jstach.rainbowgum.LogProperty
-
Resolves the property as a map, using
LogProperties.mapOrNull(String). - ofMicros() - Static method in interface io.jstach.rainbowgum.LogFormatter.TimestampFormatter
-
Micro seconds over the events last second.
- ofOneArg(Instant, String, long, System.Logger.Level, String, String, KeyValues, LogMessageFormatter, Object) - Static method in interface io.jstach.rainbowgum.LogEvent
-
Creates a log event.
- ofProvider(LogProperty.PropertyFunction) - Method in interface io.jstach.rainbowgum.LogProperty
-
Resolves the property as a
LogProviderRefand then maps it to aLogProvider. - ofProviderRef() - Method in interface io.jstach.rainbowgum.LogProperty
-
Resolves the property as a
LogProviderReffor component provision. - ofRightPadded() - Static method in interface io.jstach.rainbowgum.LogFormatter.LevelFormatter
-
Default implementation calls
LogFormatter.LevelFormatter.rightPadded(Level) - ofStandardErr() - Static method in interface io.jstach.rainbowgum.LogOutput
-
Standard err output.
- ofStandardOut() - Static method in interface io.jstach.rainbowgum.LogOutput
-
Standard out output.
- ofString() - Method in interface io.jstach.rainbowgum.LogProperty
-
Resolves the property as a raw string.
- ofSync() - Static method in interface io.jstach.rainbowgum.LogPublisher.PublisherFactory
-
Provides the default registered sync publisher.
- ofTTLL() - Static method in interface io.jstach.rainbowgum.LogEncoder
-
Provides the standard TTLL encoder.
- ofTwoArgs(Instant, String, long, System.Logger.Level, String, String, KeyValues, LogMessageFormatter, Object, Object) - Static method in interface io.jstach.rainbowgum.LogEvent
-
Creates a log event.
- ofUniversal() - Static method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Platform independent formatter config that will not change across timezones or platforms.
- ofURI() - Method in interface io.jstach.rainbowgum.LogProperty
-
Resolves the property as a URI.
- onAlert(LogEvent) - Method in interface io.jstach.rainbowgum.LogAlerts.Listener
-
Called synchronously every time an alert is recorded.
- onChange(Consumer) - Method in interface io.jstach.rainbowgum.LogRouter.RootRouter
-
Register for a router changes usually involving the level resolver being updated by config.
- onClose(AutoCloseable) - Method in interface io.jstach.rainbowgum.ServiceRegistry
-
Add a closeable to close on close in LIFO order.
- onGlobalChange(Consumer) - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Subscribes to notification of a new RainbowGum becoming the globally bound one (see
RainbowGum.set(Supplier),RainbowGum.set(RainbowGum),RainbowGum.Builder.set()). - opt(int, String) - Method in interface io.jstach.rainbowgum.pattern.PatternKeyword
-
Helper to get values from
PatternKeyword.optionList() - opt(int, T, Function) - Method in interface io.jstach.rainbowgum.pattern.PatternKeyword
-
Helper to get values from
PatternKeyword.optionList(). - Opting Every Appender/Encoder Into Platform-Specific Defaults At Once - Section in Overview
- optional() - Method in interface io.jstach.rainbowgum.LogProperty.ValidatedResult
-
Convenience that turns a value into an optional.
- optional() - Method in class io.jstach.rainbowgum.RainbowGum.Builder
-
For returning an optional for the LogProvider contract.
- optional(Function) - Method in class io.jstach.rainbowgum.RainbowGum.Builder
-
For returning an optional for the LogProvider contract.
- optionList() - Method in interface io.jstach.rainbowgum.pattern.PatternKeyword
-
Parameters passed in
{... - optOrNull(int) - Method in interface io.jstach.rainbowgum.pattern.PatternKeyword
-
Helper to get values from
PatternKeyword.optionList(). - optOrNull(int, Function) - Method in interface io.jstach.rainbowgum.pattern.PatternKeyword
-
Helper to get values from
PatternKeyword.optionList(). - or(T) - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
- or(T) - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
- or(T) - Method in interface io.jstach.rainbowgum.LogProperty.Result
-
Returns the current result if fallback is null or returns fallback as a result if this result is missing.
- or(T) - Method in interface io.jstach.rainbowgum.LogProperty.Result.Success
- or(String) - Method in interface io.jstach.rainbowgum.LogProperty
-
Adds a fallback key to try (without
{name}interpolation) if none of the keys tried so far are found. - or(String, String) - Method in interface io.jstach.rainbowgum.LogProperty
-
Adds a fallback key to try (with
{name}interpolated to nameParam) if none of the keys tried so far are found. - or(Supplier) - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
- or(Supplier) - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
- or(Supplier) - Method in interface io.jstach.rainbowgum.LogProperty.Result
-
Returns the current result if success or error otherwise fallback supplier is used.
- or(Supplier) - Method in interface io.jstach.rainbowgum.LogProperty.Result.Success
- order - Variable in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
order
- order() - Method in interface io.jstach.rainbowgum.LogProperties
-
When log properties are coalesced this method is used to resolve order.
- order() - Method in class io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService
-
Lowest integer value will decorate first which means the highest order found actually has the strongest influence on filtering since its returned logger is the one used.
- order(int) - Method in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
When log properties are coalesced this method is used to resolve order.
- output(LogOutput) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Sets output.
- output(LogProvider) - Method in class io.jstach.rainbowgum.LogAppender.Builder
-
Sets output.
- output(String) - Method in interface io.jstach.rainbowgum.LogOutputRegistry
-
Finds an output by name.
- OUTPUT_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging output prefix for configuration.
- outputRegistry() - Method in interface io.jstach.rainbowgum.LogConfig
-
Output provider that uses URI to find output.
- Outputs - Section in Overview
- outputStream - Variable in class io.jstach.rainbowgum.LogOutput.AbstractOutputStreamOutput
-
output stream to write to.
P
- packagingData(boolean) - Method in class io.jstach.rainbowgum.LogFormatter.ThrowableFormatter.Builder
-
Whether to append packaging data (the jar or module a frame's class was loaded from, and its version) after each frame line, e.g.
- padding() - Method in interface io.jstach.rainbowgum.pattern.PatternKeyword
-
Padding information
- Padding - Record Class in io.jstach.rainbowgum.pattern
-
FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.
- Padding(int, int, boolean, boolean) - Constructor for record class io.jstach.rainbowgum.pattern.Padding
-
Creates an instance of a
Paddingrecord class. - padLeft(StringBuilder, CharSequence, int) - Static method in interface io.jstach.rainbowgum.LogFormatter
-
Pads the left hand side of text with space.
- padRight(StringBuilder, CharSequence, int) - Static method in interface io.jstach.rainbowgum.LogFormatter
-
Pads the right hand side of text with space.
- PARAMETER_PATTERN - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Property prefix parameter pattern.
- parse(String) - Static method in enum class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder.InitOption
-
Parses an init option from a property value.
- parseLevel(String) - Static method in interface io.jstach.rainbowgum.LevelResolver
-
Parses a Level from a string.
- parseList(String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Parses a list of strings from a string that is percent encoded for escaping (application/x-www-form-urlencoded) where the separator can be either "
&" or ",". - parseMap(String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Parses a URI query formatted string to a Map.
- parseMultiMap(String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Parses a URI query for a multiple value map.
- parseUriQuery(String, BiConsumer) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Parse a URI query in application/x-www-form-urlencoded format useful for parsing properties values that have key values embedded in them.
- PASSES - Static variable in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider
-
The default amount of passes made to resolve registrators or configurators.
- pattern(String) - Method in class io.jstach.rainbowgum.pattern.format.PatternEncoderBuilder
-
Sets required pattern.
- PATTERN_CONFIG_PREFIX - Static variable in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Formatter properties prefix
- PATTERN_PROPERY_PREFIX - Static variable in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Key Values that can be retrieved by various patterns.
- PATTERN_SCHEME - Static variable in class io.jstach.rainbowgum.pattern.format.PatternEncoder
-
Pattern encoder URI provider scheme.
- patternCompiler(PatternCompiler) - Method in class io.jstach.rainbowgum.pattern.format.PatternEncoderBuilder
-
Sets patternCompiler.
- PatternCompiler - Interface in io.jstach.rainbowgum.pattern.format
-
Compiles a pattern into a formatter.
- PatternCompiler.Builder - Class in io.jstach.rainbowgum.pattern.format
-
Builder for
PatternCompiler. - patternConfig(PatternConfig) - Method in class io.jstach.rainbowgum.pattern.format.PatternCompiler.Builder
-
Formatting config that has platform config like time zone etc.
- PatternConfig - Interface in io.jstach.rainbowgum.pattern.format
-
Pattern Config needed for pattern keywords that is generally platform specific.
- PatternConfig.CacheType - Enum Class in io.jstach.rainbowgum.pattern.format
-
Whether a keyword's own internal caching (currently just
%logger{N}'s abbreviator) is used. - PatternConfigBuilder - Class in io.jstach.rainbowgum.pattern.format
-
Builder to create
PatternConfig. - PatternConfigBuilder(String) - Constructor for class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
Create a builder for
io.jstach.rainbowgum.pattern.format.PatternConfig. - PatternConfigurator - Class in io.jstach.rainbowgum.pattern.format
-
Configures Logback style pattern encoders and offers provision with the URI scheme "pattern".
- PatternConfigurator() - Constructor for class io.jstach.rainbowgum.pattern.format.PatternConfigurator
-
For service loader to call.
- PatternEncoder - Class in io.jstach.rainbowgum.pattern.format
-
Factory for pattern encoders.
- Pattern Encoder - Section in Overview
- PatternEncoderBuilder - Class in io.jstach.rainbowgum.pattern.format
-
Builder to create
LogProvider<LogEncoder>. - PatternEncoderBuilder(String) - Constructor for class io.jstach.rainbowgum.pattern.format.PatternEncoderBuilder
-
Create a builder for
io.jstach.rainbowgum.LogProvider<io.jstach.rainbowgum.LogEncoder>. - Pattern Formatter - Section in Overview
- PatternFormatterFactory - Interface in io.jstach.rainbowgum.pattern.format
-
Creates formatters from pattern keywords and are registered to a
PatternRegistry. - PatternFormatterFactory.CompositeFactory - Interface in io.jstach.rainbowgum.pattern.format
-
A composite formatter factory expects possible children.
- PatternFormatterFactory.KeywordFactory - Interface in io.jstach.rainbowgum.pattern.format
-
A keyword formatter factory expects keywords and option list.
- PatternKeyword - Interface in io.jstach.rainbowgum.pattern
-
A pattern keyword instance is the content of percent encoded keywords in a pattern.
- PatternKeywordProvider - Class in io.jstach.rainbowgum.pattern.format.spi
-
Extend for a service provider that will register custom keywords.
- PatternKeywordProvider() - Constructor for class io.jstach.rainbowgum.pattern.format.spi.PatternKeywordProvider
-
Called by service loader.
- patternRegistry(PatternRegistry) - Method in class io.jstach.rainbowgum.pattern.format.PatternCompiler.Builder
-
Pattern keyword registry.
- PatternRegistry - Interface in io.jstach.rainbowgum.pattern.format
-
Pattern registry to register custom keywords.
- PatternRegistry.ColorKey - Enum Class in io.jstach.rainbowgum.pattern.format
-
Built-in supported color pattern keys.
- PatternRegistry.KeywordKey - Enum Class in io.jstach.rainbowgum.pattern.format
-
Built-in supported pattern keys.
- PatternRegistry.PatternKey - Interface in io.jstach.rainbowgum.pattern.format
-
Pattern keywords.
- PatternRegistry.PatternKeyProvider - Interface in io.jstach.rainbowgum.pattern.format
-
Implement this interface along with the formatter for easier registration.
- PatternRegistry.SpringBootKey - Enum Class in io.jstach.rainbowgum.pattern.format
-
Spring Boot patterns.
- peekNdc() - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- Plural keys for enabling/disabling - Section in Overview
- popNdc() - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- prefix() - Element in annotation interface io.jstach.rainbowgum.annotation.LogConfigurable
-
Property prefix to use for property lookup.
- prettyPrint(KeyValues, StringBuilder) - Static method in interface io.jstach.rainbowgum.KeyValues
-
Pretty prints key values.
- prettyPrint(Boolean) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Sets prettyPrint.
- prettyPrint(Boolean) - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoderBuilder
-
Sets prettyPrint.
- prettyPrint(Boolean) - Method in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoderBuilder
-
Sets prettyPrint.
- prettyPrint(Boolean) - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoderBuilder
-
Sets prettyPrint.
- priority() - Method in class io.jstach.rainbowgum.jansi.JAnsiConfigurator
- priority() - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigurator
- priority() - Method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider.Configurator
-
Priority of configurators.
- priority() - Method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider.RainbowGumProvider
-
If there are multiple rainbow gum providers found the higher priority ones are tried first (
RainbowGumServiceProvider.RainbowGumProvider.provide(LogConfig)). - Project Information - Section in Overview
- properties() - Method in interface io.jstach.rainbowgum.LogConfig.ConfigSupport
- properties() - Method in interface io.jstach.rainbowgum.LogConfig
-
String key value properties.
- properties() - Method in interface io.jstach.rainbowgum.LogProperty
-
The properties this key (or keys) will be looked up against.
- properties() - Method in interface io.jstach.rainbowgum.LogProperty.PropertySupport
-
String key value properties.
- properties() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
-
Returns the value of the
propertiesrecord component. - properties() - Method in class io.jstach.rainbowgum.simple.props.SimpleProperties
-
The three layers described in this class's javadoc, highest priority first.
- properties(LogProperties) - Method in class io.jstach.rainbowgum.LogConfig.Builder
-
Sets log properties
- Properties - Section in Overview
- Properties based - Section in Overview
- PropertiesParser - Class in io.jstach.rainbowgum
-
Writes and parses properties.
- propertiesProvider(RainbowGumServiceProvider.PropertiesProvider) - Method in class io.jstach.rainbowgum.LogConfig.Builder
-
Add properties.
- PROPERTY - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- propertyFunction() - Method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Key Value function for ad-hoc property replacements and lookup in various patterns.
- propertyFunction(LogProperties, String) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Creates a property function.
- propertyFunction(Function) - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
Sets propertyFunction.
- propertyPrefix() - Method in class io.jstach.rainbowgum.disruptor.DisruptorLogBuilder
-
The interpolated property prefix: "logging.publisher.{name}.".
- propertyPrefix() - Method in class io.jstach.rainbowgum.file.FileOutputBuilder
-
The interpolated property prefix: "logging.output.{name}.".
- propertyPrefix() - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
The interpolated property prefix: "logging.encoder.{name}.".
- propertyPrefix() - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoderBuilder
-
The interpolated property prefix: "logging.encoder.{name}.".
- propertyPrefix() - Method in class io.jstach.rainbowgum.json.encoder.LogbackJsonEncoderBuilder
-
The interpolated property prefix: "logging.encoder.{name}.".
- propertyPrefix() - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoderBuilder
-
The interpolated property prefix: "logging.encoder.{name}.".
- propertyPrefix() - Method in class io.jstach.rainbowgum.LogAppender.Builder
- propertyPrefix() - Method in interface io.jstach.rainbowgum.LogBuilder
-
The property prefix used to resolve which properties to extract from LogProperties.
- propertyPrefix() - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
The interpolated property prefix: "logging.pattern.config.{name}.".
- propertyPrefix() - Method in class io.jstach.rainbowgum.pattern.format.PatternEncoderBuilder
-
The interpolated property prefix: "logging.encoder.{name}.".
- propertyPrefix() - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
The interpolated property prefix: "logging.output.{name}.".
- provide() - Method in class io.jstach.rainbowgum.scopedkeyvalues.provider.ScopedKeyValuesProviderFactoryImpl
- provide() - Method in interface io.jstach.rainbowgum.scopedkeyvalues.spi.ScopedKeyValuesProviderFactory
-
Creates (or otherwise obtains) the provider.
- provide() - Static method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider
-
Will load all RainbowGum SPI to create a RainbowGum powered from the ServiceLoader using the current thread context class loader if avaiable otherwise the system classloader.
- provide(LogConfig) - Method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider.RainbowGumProvider
-
Optionally provides a rainbow gum based on config.
- provide(LogConfig, ClassLoader, Environment) - Method in interface io.jstach.rainbowgum.spring.boot.spi.SpringRainbowGumServiceProvider
-
Provides a Rainbow Gum that has configuration already Spring Bootified.
- provide(LogProviderRef) - Method in interface io.jstach.rainbowgum.LogEncoder.EncoderProvider
-
Loads an encoder from a URI.
- provide(LogProviderRef) - Method in interface io.jstach.rainbowgum.LogOutput.OutputProvider
-
Creates an output ready to be injected with config.
- provide(LogProviderRef) - Method in interface io.jstach.rainbowgum.LogPublisher.PublisherProvider
-
Provides a publisher factory by properties and uri.
- provide(String, LogConfig) - Method in interface io.jstach.rainbowgum.LogProvider
-
Creates the component from config.
- provide(ServiceLoader) - Static method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider
-
Will load all RainbowGum SPI to create a RainbowGum powered from the ServiceLoader.
- provideConfig(ServiceLoader) - Static method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider
-
Creates config from service loader.
- provideOrNull(LogProvider, String, LogConfig) - Static method in interface io.jstach.rainbowgum.LogProvider
-
Convenience for flattening nullable providers.
- provideProperties(ServiceRegistry) - Method in class io.jstach.rainbowgum.avaje.AvajePropertiesProvider
- provideProperties(ServiceRegistry) - Method in class io.jstach.rainbowgum.simple.props.SimplePropertiesProvider
- provideProperties(ServiceRegistry) - Method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider.PropertiesProvider
-
Provides properties and or register services.
- provideValue(LogProperty.Result, String, LogConfig) - Static method in interface io.jstach.rainbowgum.LogProperty
-
Like
LogProperty.Result.map(PropertyFunction)but specifically for the "resolve to aLogProvider, thenprovide" step used by output/encoder/appender resolution. - providingError(LogProperty.Result.Success, Exception) - Static method in interface io.jstach.rainbowgum.LogProperty
-
Like
LogProperty.richError(Result.Success, Exception)but for a property whose value was used to invokeLogProvider.provide(String, LogConfig)rather than a plain same-property type conversion - seeLogProperty.provideValue(Result, String, LogConfig). - prudent(Boolean) - Method in class io.jstach.rainbowgum.file.FileOutputBuilder
-
Sets prudent.
- publish() - Method in interface io.jstach.rainbowgum.LogConfig.ChangePublisher
-
Publish that there has been changes.
- publisher() - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
- publisher() - Method in interface io.jstach.rainbowgum.LogRouter.Router
-
Log publisher.
- publisher(LogPublisher.PublisherFactory) - Method in class io.jstach.rainbowgum.LogRouter.Router.Builder
-
Sets the publisher.
- PUBLISHER_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging publisher prefix for configuration.
- publisherRegistry() - Method in interface io.jstach.rainbowgum.LogConfig
-
Provides publishers by URI scheme.
- Publishers - Section in Overview
- pushNdc(String) - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- put(Class, String, T) - Method in interface io.jstach.rainbowgum.ServiceRegistry
-
Puts a service.
- put(Class, T) - Method in interface io.jstach.rainbowgum.ServiceRegistry
-
Puts a service.
- put(String, String) - Method in interface io.jstach.rainbowgum.LogProperties.MutableLogProperties
-
Assigns key to a value.
- putAll(Map) - Method in interface io.jstach.rainbowgum.KeyValues.MutableKeyValues
-
Same as
Map.putAll(Map). - putIfAbsent(Class, String, Supplier) - Method in interface io.jstach.rainbowgum.ServiceRegistry
-
Puts a service if absent.
- putIfAbsent(Class, Supplier) - Method in interface io.jstach.rainbowgum.ServiceRegistry
-
Puts a service if absent.
- putKeyValue(String, String) - Method in interface io.jstach.rainbowgum.KeyValues.MutableKeyValues
-
Same as
Map.put(Object, Object). - putMdc(String, Object) - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
Q
- queued(LogConfig) - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Creates a RainbowGum that will ALWAYS use the global router.
- QUOTE - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Helper for writing JSON quote: "
R
- RainbowGum - Interface in io.jstach.rainbowgum
-
The main entry point and configuration of RainbowGum logging.
- RainbowGum.Builder - Class in io.jstach.rainbowgum
-
RainbowGum Builder.
- RainbowGumAppLog - Class in io.jstach.rainbowgum.avaje
-
Provides an Avaje logger to use RainbowGum global queue to avoid initialization issues.
- RainbowGumAppLog() - Constructor for class io.jstach.rainbowgum.avaje.RainbowGumAppLog
-
For service loader.
- RainbowGumJBossLoggerProvider - Class in io.jstach.rainbowgum.jbosslogging
-
Native
LoggerProviderfor JBoss Logging backed directly byLogRouter.global(), not through SLF4J. - RainbowGumJBossLoggerProvider() - Constructor for class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
-
For
ServiceLoader. - RainbowGumServiceProvider - Interface in io.jstach.rainbowgum.spi
-
RainbowGum SPI.
- RainbowGumServiceProvider.Configurator - Interface in io.jstach.rainbowgum.spi
-
Called after
LogConfighas been loaded to do various custom initialization like registeringLogOutput.OutputProviders. - RainbowGumServiceProvider.Pass - Enum Class in io.jstach.rainbowgum.spi
-
Providers sometimes need multiple passes to support dependencies without using true dependency injection.
- RainbowGumServiceProvider.PropertiesProvider - Interface in io.jstach.rainbowgum.spi
-
Provides properties and or register services.
- RainbowGumServiceProvider.RainbowGumEagerLoad - Interface in io.jstach.rainbowgum.spi
-
This is a marker interface that indicates that a facade implementation will do the eager loading of RainbowGum.
- RainbowGumServiceProvider.RainbowGumProvider - Interface in io.jstach.rainbowgum.spi
-
Implement to create a custom RainbowGum.
- RainbowGumSLF4JServiceProvider - Class in io.jstach.rainbowgum.slf4j
-
SLF4J provider using RainbowGum.
- RainbowGumSLF4JServiceProvider() - Constructor for class io.jstach.rainbowgum.slf4j.RainbowGumSLF4JServiceProvider
-
No Arg for service laoder.
- RainbowGumSystemLogger - Class in io.jstach.rainbowgum.systemlogger
-
Rainbow Gum System Logger implementation.
- RainbowGumSystemLoggerFinder - Class in io.jstach.rainbowgum.systemlogger
-
Abstract System Logger Finder to allow users to create their own custom System.LoggerFinder.
- RainbowGumSystemLoggerFinder(Supplier) - Constructor for class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder
-
Creates the logger inder based on init option.
- RainbowGumSystemLoggerFinder.InitOption - Enum Class in io.jstach.rainbowgum.systemlogger
-
Values (case is ignored) for "logging.systemlogger.initialize".
- RainbowGumVersion - Class in io.jstach.rainbowgum.annotation
-
Provides the version information of Rainbow Gum as static literals.
- readProperties(String) - Static method in class io.jstach.rainbowgum.PropertiesParser
-
Read properties.
- RED - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI red color
- REENTRY_DROP - Enum constant in enum class io.jstach.rainbowgum.LogAppender.AppenderFlag
-
The appender will drop events on reentry which happens if an appender during its append causes recursive appending in the same thread.
- REENTRY_LOG - Enum constant in enum class io.jstach.rainbowgum.LogAppender.AppenderFlag
-
The appender will log events as errors to std error on reentry which happens if an appender during its append causes recursive appending in the same thread.
- register(LogEncoderRegistry) - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
Will register this TTLL like encoder with the uri schema "ttll" and will be used as the default encoder if other encoders are not found.
- register(PatternRegistry) - Method in class io.jstach.rainbowgum.pattern.format.spi.PatternKeywordProvider
-
Registers formatter factories with keywords.
- register(PatternRegistry.PatternKey, PatternFormatterFactory) - Method in interface io.jstach.rainbowgum.pattern.format.PatternRegistry
-
Registers a pattern key with a formatter factory.
- register(String, LogEncoder.EncoderProvider) - Method in interface io.jstach.rainbowgum.LogEncoderRegistry
-
Registers an encoder by uri scheme.
- register(String, LogOutput.OutputProvider) - Method in interface io.jstach.rainbowgum.LogOutputRegistry
-
Register a provider by
scheme. - register(String, LogPublisher.PublisherProvider) - Method in interface io.jstach.rainbowgum.LogPublisherRegistry
-
Register a publisher provider by URI scheme.
- register(P) - Method in interface io.jstach.rainbowgum.pattern.format.PatternRegistry
-
Convenience to register factories that have keys associated with them by implementing
PatternRegistry.PatternKeyProvider. - RELATIVE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- remove(String) - Method in interface io.jstach.rainbowgum.KeyValues.MutableKeyValues
-
Same as
Map.remove(Object). - removeKeyPrefix(String) - Method in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
Removes the prefix from a key before it accesses the underlying properties.
- removeKeyPrefix(String, String) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Remove key prefix from the key.
- removeMdc(String) - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- renameKey - Variable in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
rename key
- renameKey(Function) - Method in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
Renames the key before it accesses function.
- reopen() - Method in interface io.jstach.rainbowgum.LogOutput
-
Attempts to reopen the output if supported and SHOULD only be called by the appender!
- reopen() - Method in interface io.jstach.rainbowgum.LogOutputRegistry
-
Attempts to reopen all outputs of a certain type usually for log rotation.
- require(String, T) - Static method in interface io.jstach.rainbowgum.LogProperty
-
Checks that value is not null, throwing
LogProperty.PropertyMissingExceptionnaming key if it is. - Requirements - Section in Overview
- resolveLevel(String) - Method in interface io.jstach.rainbowgum.LevelResolver.LevelConfig
-
Resolves a level by walking up the dotted path by calling
LevelResolver.LevelConfig.levelOrNull(String)which follows Logbacks Effective Level. - resolveLevel(String) - Method in interface io.jstach.rainbowgum.LevelResolver
-
Determines what level the logger should be at.
- resolver(LevelResolver) - Method in class io.jstach.rainbowgum.LevelResolver.Builder
-
Adds a level resolver to the end of the resolve list.
- resource(String) - Method in class io.jstach.rainbowgum.simple.props.SimpleProperties.Builder
-
Sets the classpath resource to load properties from.
- REUSE - Enum constant in enum class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder.InitOption
-
Will reuse an existing rainbow gum or fail.
- REUSE_BUFFER - Enum constant in enum class io.jstach.rainbowgum.LogAppender.AppenderType
-
The appender will create a single buffer that will be reused and will be protected by the appenders locking.
- richError(LogProperty.Result.Success, Exception) - Static method in interface io.jstach.rainbowgum.LogProperty
-
Builds a rich error from a failed conversion of a previously successful result - package-visible (rather than private) only so the top-level
PropertySuccesscan call it fromLogProperty.Result.map(PropertyFunction). - rightPadded(System.Logger.Level) - Static method in interface io.jstach.rainbowgum.LogFormatter.LevelFormatter
-
Turns a Level into a SLF4J like level String that is all upper case and same length with right padding.
- ROLLING_SCHEME - Static variable in interface io.jstach.rainbowgum.rolling.RollingFileOutput
-
URI scheme for rolling file outputs.
- RollingConfigurator - Class in io.jstach.rainbowgum.rolling
-
Registers the two URI schemes
rainbowgum-fileprovides: "file" (sofile:///path/to/app.logresolves to aFileOutput-coreon its own has no such registration) and "rolling" (sorolling:///path/to/app.logresolves to aRollingFileOutput). - RollingConfigurator() - Constructor for class io.jstach.rainbowgum.rolling.RollingConfigurator
-
No arg for service loader.
- RollingFileOutput - Interface in io.jstach.rainbowgum.rolling
-
A
FileOutputthat rolls (renames the active file to a numbered archive and starts a fresh one) once it grows pastmaxFileSize, retaining at mostmaxHistoryarchives. - RollingFileOutputBuilder - Class in io.jstach.rainbowgum.rolling
-
Builder to create
LogProvider<RollingFileOutput>. - RollingFileOutputBuilder(String) - Constructor for class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
Create a builder for
io.jstach.rainbowgum.LogProvider<io.jstach.rainbowgum.rolling.RollingFileOutput>. - Rolling Files - Section in Overview
- ROOT_EXCEPTION - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- ROOT_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging properties prefix.
- rootCauseFirst(boolean) - Method in class io.jstach.rainbowgum.LogFormatter.ThrowableFormatter.Builder
-
Whether to print the root cause first instead of last, working back up through each wrapping exception ("Wrapped by: ..." instead of "Caused by: ..."), mirroring logback's
RootCauseFirstThrowableProxyConverter(%rEx/%rootException). - route(LogRouter.Router) - Method in class io.jstach.rainbowgum.RainbowGum.Builder
-
Adds a router.
- route(String, System.Logger.Level) - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
- route(String, System.Logger.Level) - Method in interface io.jstach.rainbowgum.LogRouter
-
Finds a route.
- route(String, Consumer) - Method in class io.jstach.rainbowgum.RainbowGum.Builder
-
Adds a route by using a consumer of the route builder.
- route(Consumer) - Method in class io.jstach.rainbowgum.RainbowGum.Builder
-
Adds a route by using a consumer of the route builder.
- ROUTE_APPENDERS_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Appenders associated with a route comma separated.
- ROUTE_FLAGS_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Route flags.
- ROUTE_LEVEL_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging level properties prefix.
- ROUTE_PREFIX - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Route prefix for configuration.
- ROUTE_PUBLISHER_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Logging publisher URI property.
- Route Level Priority - Section in Overview
- router() - Method in interface io.jstach.rainbowgum.RainbowGum
-
The router that will route log messages to publishers.
- Router - Section in Overview
- ROUTES_PROPERTY - Static variable in interface io.jstach.rainbowgum.LogProperties
-
Routes enabled with names comma separated.
- run(Runnable) - Method in interface io.jstach.rainbowgum.scopedkeyvalues.ScopedKeyValues.Builder
-
Pushes this layer and runs
bodyfor its duration. - runConfigurators(Stream, LogConfig) - Static method in interface io.jstach.rainbowgum.spi.RainbowGumServiceProvider.Configurator
-
Runs configurators.
S
- SCHEMA - Static variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
Recommended URI schema for this type of encoder.
- SCOPED_KEY_VALUES_SERVICE_NAME - Static variable in class io.jstach.rainbowgum.slf4j.RainbowGumSLF4JServiceProvider
-
The name this module looks up in
ServiceRegistry(keyed byLogEventFactory) for an optional factory whoseLogEventFactory.defaultKeyValues()is merged as the lowest-precedence source underneath MDC for every event this module builds - MDC's own key values, and anything a fluent builder's ownaddKeyValue(...)adds on top, always win on a key collision. - ScopedKeyValues - Class in io.jstach.rainbowgum.scopedkeyvalues
-
Request/task-scoped key values, pushed once (typically once, wrapping an entire request or task at its boundary) and never mutated afterward.
- Scoped Key Values (java.lang.ScopedValue based MDC alternative) - Section in Overview
- ScopedKeyValues.Builder - Interface in io.jstach.rainbowgum.scopedkeyvalues
-
Builds one immutable layer of key values and pushes it for the duration of a
ScopedKeyValues.Builder.run(Runnable)/ScopedKeyValues.Builder.call(CallableOp)call. - ScopedKeyValues.CallableOp<R,
X> - Interface in io.jstach.rainbowgum.scopedkeyvalues -
Like
java.lang.ScopedValue.CallableOpbut declared here so this API module never has to referencejava.lang.ScopedValueitself, keeping it compilable on older JDKs - the realScopedValue-backed provider (a separate module requiring a newer JDK) bridges the two with a plain method reference, since both interfaces share the sameR call() throws Xshape. - ScopedKeyValuesConfigurator - Class in io.jstach.rainbowgum.scopedkeyvalues.provider
-
Registers
ScopedKeyValuesLogEventFactoryinLogConfig.serviceRegistry()underRainbowGumSLF4JServiceProvider#SCOPED_KEY_VALUES_SERVICE_NAME- the one thing this module needs to do forrainbowgum-slf4jto start mergingScopedKeyValuesinto every event it builds, underneath MDC. - ScopedKeyValuesConfigurator() - Constructor for class io.jstach.rainbowgum.scopedkeyvalues.provider.ScopedKeyValuesConfigurator
-
For service loader.
- ScopedKeyValuesProvider - Interface in io.jstach.rainbowgum.scopedkeyvalues.spi
-
Service Provider Interface for
ScopedKeyValues, discovered withServiceLoader. - ScopedKeyValuesProviderFactory - Interface in io.jstach.rainbowgum.scopedkeyvalues.spi
-
Service Provider Interface
ServiceLoaderactually discovers forScopedKeyValues- a factory rather than theScopedKeyValuesProvideritself, since a factory method can do things a bare no-arg-constructorServiceLoaderinstantiation cannot (validate preconditions, choose between alternate implementations, read configuration, etc) withoutScopedKeyValuesneeding to know anything about how the provider it gets back was actually put together. - ScopedKeyValuesProviderFactoryImpl - Class in io.jstach.rainbowgum.scopedkeyvalues.provider
-
The
java.util.ServiceLoader-discovered factory forScopedKeyValuesProviderImpl. - ScopedKeyValuesProviderFactoryImpl() - Constructor for class io.jstach.rainbowgum.scopedkeyvalues.provider.ScopedKeyValuesProviderFactoryImpl
-
For
ServiceLoader. - Selecting and Configuring the Pattern Encoder - Section in Overview
- self() - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
For builder
- self() - Method in class io.jstach.rainbowgum.format.StandardEventFormatter.Builder
- self() - Method in class io.jstach.rainbowgum.jansi.JansiLogFormatter.Builder
- self() - Method in class io.jstach.rainbowgum.LevelResolver.AbstractBuilder
-
This.
- self() - Method in class io.jstach.rainbowgum.LevelResolver.Builder
-
This.
- self() - Method in class io.jstach.rainbowgum.LogConfig.Builder
- self() - Method in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
For returning this.
- self() - Method in class io.jstach.rainbowgum.LogProperties.Builder
- self() - Method in class io.jstach.rainbowgum.LogProperties.MutableLogProperties.Builder
- self() - Method in class io.jstach.rainbowgum.LogPublisher.AbstractBuilder
-
This.
- self() - Method in class io.jstach.rainbowgum.LogPublisher.AsyncLogPublisher.Builder
- self() - Method in class io.jstach.rainbowgum.LogPublisher.SyncLogPublisher.Builder
-
This builder.
- self() - Method in class io.jstach.rainbowgum.LogRouter.Router.Builder
- SEMI - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Helper for writing semicolon: :
- SEP - Static variable in interface io.jstach.rainbowgum.LogProperties
-
properties separator.
- sequenceNumberStart() - Method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
The first value returned by
%lsn. - sequenceNumberStart(Long) - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
Sets sequenceNumberStart.
- serviceEnvironment(String) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Sets serviceEnvironment.
- serviceLoader() - Method in class io.jstach.rainbowgum.LogConfig.Builder
-
Sets a default service loader to use for loading components that were not set.
- serviceLoader(ServiceLoader) - Method in class io.jstach.rainbowgum.LogConfig.Builder
-
Sets the service loader to use for loading components that were not set.
- serviceName(String) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Sets serviceName.
- serviceNodeName(String) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Sets serviceNodeName.
- serviceRegistry() - Method in interface io.jstach.rainbowgum.LogConfig
-
Service registry are custom services needed by plugins particularly during the initialization process.
- serviceRegistry(ServiceRegistry) - Method in class io.jstach.rainbowgum.LogConfig.Builder
-
Sets service registry
- ServiceRegistry - Interface in io.jstach.rainbowgum
-
A simple service locator for initialization purposes and external services provided by plugins.
- serviceVersion(String) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Sets serviceVersion.
- set() - Method in class io.jstach.rainbowgum.RainbowGum.Builder
-
Builds, starts and sets the RainbowGum as the global one picked up by logging facades.
- set(RainbowGum) - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Sets a Rainbow Gum and provides a supplier that will start it globally.
- set(Supplier) - Static method in interface io.jstach.rainbowgum.RainbowGum
-
Sets the global default RainbowGum.
- setConsumer(BiConsumer) - Method in class io.jstach.rainbowgum.output.ListLogOutput
-
Sets a consumer for testing purposes.
- setDepth(int) - Method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
Sets the depth of an event builder.
- setDepth(LoggingEventBuilder, int) - Static method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
Will recreate the logger with desired depth if possible.
- setEncoderForOutputType(LogOutput.OutputType, LogProvider) - Method in interface io.jstach.rainbowgum.LogEncoderRegistry
-
Sets a default formatter for a specific output type.
- setLogger(LogEventLogger) - Method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
Redirects the output.
- setNdcMaxDepth(int) - Method in class io.jstach.rainbowgum.jbosslogging.RainbowGumJBossLoggerProvider
- SimpleProperties - Class in io.jstach.rainbowgum.simple.props
-
Resolves
LogPropertiesfrom up to three layers, highest priority first: System properties (LogProperties.StandardProperties.SYSTEM_PROPERTIES). Environment variables, using "RAINBOWGUM_" (configurable) in place of the"logging."lead segment of the key, remaining.s replaced with_, and casing left exactly as-is - seeSimpleProperties.Builder.envPrefix(String). A classpath resource (default "classpath:/logging.properties", configurable) parsed the same wayLogProperties.Builder.fromProperties(String)parses any other properties text - if the resource is not found this layer contributes nothing. Create one withSimpleProperties.builder(), or just rely onSimplePropertiesProviderpicking up the defaults automatically viaServiceLoader. - SimpleProperties.Builder - Class in io.jstach.rainbowgum.simple.props
-
Builds a
SimpleProperties. - SimplePropertiesProvider - Class in io.jstach.rainbowgum.simple.props
-
Makes
SimplePropertiesprovide properties to RainbowGum. - SimplePropertiesProvider() - Constructor for class io.jstach.rainbowgum.simple.props.SimplePropertiesProvider
-
For service loader.
- size() - Method in interface io.jstach.rainbowgum.KeyValues
-
Analogous to
Map.size(). - size() - Method in record class io.jstach.rainbowgum.LogAlerts.Stats
-
Returns the value of the
sizerecord component. - SKIP - Enum constant in enum class io.jstach.rainbowgum.LogFormatter.KeyValueNullStrategy
-
The key is omitted entirely (no key, no
=) if its value isnull. - SLF4J - Enum constant in enum class io.jstach.rainbowgum.LogMessageFormatter.StandardMessageFormatter
-
SLF4J format style where "
{}" is replaced with the parameters. - SLF4J 2.0 - Section in Overview
- SLF4J based filtering - Section in Overview
- SLF4JRainbowGumEagerLoad - Class in io.jstach.rainbowgum.slf4j
-
This is an internal detail to signal that this SLF4J implementation will load Rainbow Gum.
- SLF4JRainbowGumEagerLoad() - Constructor for class io.jstach.rainbowgum.slf4j.SLF4JRainbowGumEagerLoad
-
no arg constructor required for service loader however it will unlikely be called.
- space() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Appends a space.
- Spring Boot - Section in Overview
- Spring Boot Actuator (Micrometer) - Section in Overview
- SpringRainbowGumServiceProvider - Interface in io.jstach.rainbowgum.spring.boot.spi
-
Provides a custom Spring Boot aware RainbowGum through
META-INF/spring.factories. - StandardEventFormatter - Class in io.jstach.rainbowgum.format
-
A TTLL formatter that has the layout of TTLL - Time, Thread, Level, Logger but allows changing the format of time, thread, level, logger, etc.
- StandardEventFormatter.Builder - Class in io.jstach.rainbowgum.format
-
Builder for
StandardEventFormatteraka TTLL formatter. - start() - Method in interface io.jstach.rainbowgum.RainbowGum
-
Starts the rainbow gum and returns it.
- start(LogConfig) - Method in class io.jstach.rainbowgum.disruptor.DisruptorLogPublisher
- start(LogConfig) - Method in interface io.jstach.rainbowgum.LogLifecycle
-
Starts a component.
- start(LogConfig) - Method in interface io.jstach.rainbowgum.LogOutput
- start(LogConfig) - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
- startTime() - Method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
The baseline instant used by
%r/%relativeto compute elapsed milliseconds. - startTime(Instant) - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
Sets startTime.
- StaticFormatter(String) - Constructor for record class io.jstach.rainbowgum.LogFormatter.StaticFormatter
-
Creates an instance of a
StaticFormatterrecord class. - stats() - Method in interface io.jstach.rainbowgum.LogAlerts
-
Stats about the alerts recorded so far.
- Stats(long, int, int) - Constructor for record class io.jstach.rainbowgum.LogAlerts.Stats
-
Creates an instance of a
Statsrecord class. - STDERR_SCHEME - Static variable in interface io.jstach.rainbowgum.LogOutput
-
FileDescriptor.errURI scheme. - STDERR_URI - Static variable in interface io.jstach.rainbowgum.LogOutput
-
Standard ERR URI
- STDOUT_SCHEME - Static variable in interface io.jstach.rainbowgum.LogOutput
-
FileDescriptor.outURI scheme. - STDOUT_URI - Static variable in interface io.jstach.rainbowgum.LogOutput
-
Standard OUT URI.
- STRING - Enum constant in enum class io.jstach.rainbowgum.LogOutput.WriteMethod
-
Prefer calling
LogOutput.write(LogEvent, String). - structured() - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoder
-
Whether fields are nested JSON objects (Spring Boot's ECS shape) instead of the default flattened, dotted field names (the reference ecs-logging-java shape).
- structured(Boolean) - Method in class io.jstach.rainbowgum.json.encoder.EcsEncoderBuilder
-
Sets structured.
- subscribe(Consumer) - Method in interface io.jstach.rainbowgum.LogConfig.ChangePublisher
-
Subscribe to changes.
- sync() - Static method in interface io.jstach.rainbowgum.LogPublisher.PublisherFactory
-
Sync builder.
- SYNC_SCHEME - Static variable in interface io.jstach.rainbowgum.LogPublisherRegistry
-
This is the URI scheme for the sync publisher builder to find a sync publisher.
- SYNCHRONIZED_THREAD_LOCAL_BUFFER - Enum constant in enum class io.jstach.rainbowgum.LogAppender.AppenderType
-
Like
LogAppender.AppenderType.LOCK_THREAD_LOCAL_BUFFER(a reused per-thread buffer, encoding done outside any lock) except the final write to the output is protected by a plainsynchronizedblock (the JVM's intrinsic monitor) instead of aReentrantLock. - synchronous() - Method in interface io.jstach.rainbowgum.LogPublisher.AsyncLogPublisher
- synchronous() - Method in interface io.jstach.rainbowgum.LogPublisher
-
If the publisher is synchronous.
- synchronous() - Method in interface io.jstach.rainbowgum.LogPublisher.SyncLogPublisher
- synchronous() - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
- synchronous() - Method in interface io.jstach.rainbowgum.LogRouter.Router
-
Whether or not the publisher is synchronous.
- SYSTEM_PROPERTIES - Enum constant in enum class io.jstach.rainbowgum.LogProperties.StandardProperties
T
- text(String) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Appends static text.
- TEXT_PLAIN - Enum constant in enum class io.jstach.rainbowgum.LogOutput.ContentType.StandardContentType
-
text/plain
- There is a typo in this documentation how can I fix it? - Section in Overview
- THREAD - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- threadFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
mutable field
- threadFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
immutable field
- threadFormatter(LogFormatter) - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
Sets thread formatter.
- threadId() - Method in interface io.jstach.rainbowgum.LogEvent
-
Thread id.
- threadId() - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Thread id to use for the next event created by this factory.
- threadId() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Appends a thread ID :
Thread.threadId(). - threadName() - Method in interface io.jstach.rainbowgum.LogEvent
-
Name of the thread.
- threadName() - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Thread name to use for the next event created by this factory.
- threadName() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Appends a thread name :
Thread.getName(). - throwable() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Appends the events throwable stack trace.
- throwable() - Method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
The cause set on this builder so far, if any.
- throwable(LogFormatter.ThrowableFormatter) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Appends the events throwable stack trace using a custom
LogFormatter.ThrowableFormatter(e.g. one created withLogFormatter.ThrowableFormatter.builder()). - throwable(LoggingEventBuilder) - Static method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareEventBuilder
-
The cause set on the builder so far, if possible.
- THROWABLE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
- throwableFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
mutable field
- throwableFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
immutable field
- throwableFormatter(LogFormatter) - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
Sets the throwable formatter.
- throwableFormatter(LogFormatter.ThrowableFormatter) - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
Sets the throwable formatter.
- throwableFormatter(PatternKeyword, boolean) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternFormatterFactory
-
Parses the depth (
full/short/a number) and exclude regex options shared by throwable keywords such as%ex/%xExand Spring Boot's%wEx. - throwableFormatter(PatternKeyword, boolean, boolean) - Static method in interface io.jstach.rainbowgum.pattern.format.PatternFormatterFactory
-
Like
PatternFormatterFactory.throwableFormatter(PatternKeyword, boolean)but also able to build a root-cause-first formatter for%rEx/%rootException. - throwableOrNull() - Method in interface io.jstach.rainbowgum.LogEvent
-
Throwable at the time of the event passed from the logger.
- timeFractionalDigits(Integer) - Method in class io.jstach.rainbowgum.json.encoder.GelfEncoderBuilder
-
Sets timeFractionalDigits.
- timestamp() - Method in interface io.jstach.rainbowgum.LogEvent
-
Timestamp when the event was created.
- timestamp() - Method in interface io.jstach.rainbowgum.LogEventFactory
-
Timestamp to use for the next event created by this factory.
- timeStamp() - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Append the timestamp in ISO format.
- timeStamp(DateTimeFormatter) - Method in class io.jstach.rainbowgum.LogFormatter.Builder
-
Formatter for
LogEvent.timestamp()derived from standardDateTimeFormatter. - timestampFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
mutable field
- timestampFormatter - Variable in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
immutable field
- timestampFormatter(LogFormatter) - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter.AbstractBuilder
-
Sets timestamp formatter.
- toEncoderProvider() - Method in class io.jstach.rainbowgum.format.AbstractStandardEventFormatter
-
Convenience to register the encoder.
- toString() - Method in class io.jstach.rainbowgum.disruptor.DisruptorLogPublisher
- toString() - Method in record class io.jstach.rainbowgum.LogAlerts.Stats
-
Returns a string representation of this record class.
- toString() - Method in record class io.jstach.rainbowgum.LogFormatter.StaticFormatter
-
Returns a string representation of this record class.
- toString() - Method in record class io.jstach.rainbowgum.LogMetrics.Counter
-
Returns a string representation of this record class.
- toString() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
-
Returns a string representation of this record class.
- toString() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
-
Returns a string representation of this record class.
- toString() - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
- toString() - Method in class io.jstach.rainbowgum.output.ListLogOutput
- toString() - Method in record class io.jstach.rainbowgum.pattern.Padding
-
Returns a string representation of this record class.
- toString(LogEvent.Caller) - Static method in interface io.jstach.rainbowgum.LogEvent.Caller
-
Convenience toString for caller.
- toString(System.Logger.Level) - Static method in interface io.jstach.rainbowgum.LogFormatter.LevelFormatter
-
Turns a Level into a SLF4J like level String that is all upper case.
- total() - Method in record class io.jstach.rainbowgum.LogAlerts.Stats
-
Returns the value of the
totalrecord component. - totalSizeCap(Integer) - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
Sets required totalSizeCap.
- trace(String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- trace(String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- trace(String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- trace(String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- trace(String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- trace(Marker, String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(Marker, String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- trace(Marker, String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(Marker, String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- trace(Marker, String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(Marker, String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- trace(Marker, String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(Marker, String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- trace(Marker, String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- trace(Marker, String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- transformOrNull(LogEvent) - Method in class io.jstach.rainbowgum.LogRouter.AbstractRouter
-
Implement for custom filtering or transformation.
- translateKey(String) - Method in enum class io.jstach.rainbowgum.LogProperties.StandardProperties
-
Translate the key.
- TRUE - Enum constant in enum class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder.InitOption
-
Will initialize rainbow gum.
- TTLL_TIME_FORMAT - Static variable in interface io.jstach.rainbowgum.LogFormatter.TimestampFormatter
-
The default timestamp format used in many logging frameworks which does not have dates and only time at millisecond precision.
- Two modules: API and provider - Section in Overview
- type() - Method in interface io.jstach.rainbowgum.file.FileOutput
- type() - Method in interface io.jstach.rainbowgum.LogOutput
-
Gross categorization of an output.
- type() - Method in class io.jstach.rainbowgum.output.ListLogOutput
U
- UNDERSCORE - Enum constant in enum class io.jstach.rainbowgum.json.JsonBuffer.ExtendedFieldPrefix
-
"_" Underscore prefix
- unset() - Method in class io.jstach.rainbowgum.RainbowGum.Builder
-
Removes the currently set Rainbow Gum which will close it if one exists and will be replaced by the default provision process if
RainbowGum.of()is called beforeRainbowGum.Builder.set(). - uri - Variable in class io.jstach.rainbowgum.LogOutput.AbstractOutputStreamOutput
-
passed in uri
- uri() - Method in class io.jstach.rainbowgum.LogOutput.AbstractOutputStreamOutput
- uri() - Method in interface io.jstach.rainbowgum.LogOutput
-
The uri of the output.
- uri() - Method in interface io.jstach.rainbowgum.LogProviderRef
-
URI of the log provider.
- uri() - Method in class io.jstach.rainbowgum.output.ListLogOutput
- uri(URI) - Method in class io.jstach.rainbowgum.file.FileOutputBuilder
-
Sets uri.
- uri(URI) - Method in class io.jstach.rainbowgum.rolling.RollingFileOutputBuilder
-
Sets uri.
- useGetBytes(boolean) - Method in class io.jstach.rainbowgum.LogEncoder.Builder
-
If set, converts to bytes with
String.getBytes(Charset)on the fully formatted string instead of the defaultCharsetEncoder-based copy directly into a reused byte buffer. - User Guide - Section in Overview
- Using RainbowGum Builders - Section in Overview
- Using rainbowgum-simple (Testing/Simple Apps) - Section in Overview
- Using Spring Boot - Section in Overview
- Using System properties - Section in Overview
V
- validate() - Method in class io.jstach.rainbowgum.LogProperty.Validator
-
Validates every result added so far via
LogProperty.Validator.add(Result)orLogProperty.Validator.addIfError(Result), throwing a single exception listing all failures if one or more of them are notLogProperty.Result.Success. - validate(LogProperty.Validator) - Method in interface io.jstach.rainbowgum.LogProperty.Result
-
Registers this result with
validatorviaLogProperty.Validator.add(Result)(a still-LogProperty.Result.Missingresult is treated as a real failure) and returns this result unchanged, so a chain that builds a required property can register itself with a sharedLogProperty.Validatorand keep going in one expression -properties.forKey(key).ofString().or(fallback).validate(v)- instead of a separatevar x = ...; v.add(x);statement pair. - validate(Class, List) - Static method in exception class io.jstach.rainbowgum.LogProperty.ValidationException
-
Validates a list of results and throws
LogProperty.ValidationExceptionif any results are notLogProperty.Result.Success. - validateIfError(LogProperty.Validator) - Method in interface io.jstach.rainbowgum.LogProperty.Result
-
Like
LogProperty.Result.validate(Validator)but viaLogProperty.Validator.addIfError(Result)instead ofLogProperty.Validator.add(Result)- aLogProperty.Result.Missingresult is expected and ignored, only aLogProperty.Result.Erroris treated as a failure. - validateKeyParameters(String, Set) - Static method in interface io.jstach.rainbowgum.LogProperties
-
Validate key parameters.
- validateNow(Class) - Method in interface io.jstach.rainbowgum.LogProperty.Result
-
Convenience for a genuine one-off, single-property validation that does not need to participate in a larger batch: builds a single-use
LogProperty.Validator, registers this result with it viaLogProperty.Validator.add(Result), and validates immediately - instead of registering with a caller-managedLogProperty.ValidatorviaLogProperty.Result.validate(Validator)and deferring to a laterLogProperty.Validator.validate()call. - value() - Element in annotation interface io.jstach.rainbowgum.annotation.LogConfigurable.ConvertParameter
-
Static method on target type to call to convert the parameter.
- value() - Element in annotation interface io.jstach.rainbowgum.annotation.LogConfigurable.DefaultParameter
-
Will use use a static field on the factory class (the class that contains the annotated
LogConfigurablemethod) as a default value if missing from properties or not set. - value() - Element in annotation interface io.jstach.rainbowgum.annotation.LogConfigurable.KeyParameter
-
Use as parameter to a property name specified in
LogConfigurable.prefix(). - value() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
- value() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
- value() - Method in interface io.jstach.rainbowgum.LogProperty.Result.Success
-
Gets the value and will never fail for Success.
- value() - Method in interface io.jstach.rainbowgum.LogProperty.ValidatedResult
-
Gets the value and will fail with
NoSuchElementExceptionif there is no value. - value(String, String) - Method in interface io.jstach.rainbowgum.LogProperties
-
Analogous to
System.getProperty(String, String)with the exception that the fallback cannot be null and the return cannot be null. - valueOf(String) - Static method in enum class io.jstach.rainbowgum.json.JsonBuffer.ExtendedFieldPrefix
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogAlerts.UnobservedErrorsAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogAppender.AppenderFlag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogAppender.AppenderType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogConfig.ChangePublisher.ChangeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogEvent.Caller.CallerType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogFormatter.KeyValueNullStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogFormatter.NoopFormatter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogMessageFormatter.StandardMessageFormatter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogMetrics.StandardMetric
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogOutput.ContentType.StandardContentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogOutput.OutputType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogOutput.WriteMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogProperties.StandardProperties
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogRouter.Route.Routes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.LogRouter.RouteFlag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.pattern.format.PatternConfig.CacheType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.SpringBootKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in record class io.jstach.rainbowgum.pattern.Padding
-
This method is used to parse a string such as "5", ".7", "5.7" or "-5.7" into a Padding.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.spi.RainbowGumServiceProvider.Pass
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder.InitOption
-
Returns the enum constant of this class with the specified name.
- valueOrNull() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Error
- valueOrNull() - Method in record class io.jstach.rainbowgum.LogProperty.Result.Missing
- valueOrNull() - Method in interface io.jstach.rainbowgum.LogProperty.Result.Success
- valueOrNull() - Method in interface io.jstach.rainbowgum.LogProperty.ValidatedResult
-
Gets the value.
- valueOrNull(T) - Method in interface io.jstach.rainbowgum.LogProperty.ValidatedResult
-
Gets a value if there is if not uses the fallback.
- valueOrNull(String) - Method in interface io.jstach.rainbowgum.LogProperties
-
Analogous to
System.getProperty(String). - values() - Static method in enum class io.jstach.rainbowgum.json.JsonBuffer.ExtendedFieldPrefix
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.json.JsonBuffer.JSONToken
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogAlerts.UnobservedErrorsAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogAppender.AppenderFlag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogAppender.AppenderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogConfig.ChangePublisher.ChangeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogEvent.Caller.CallerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogFormatter.KeyValueNullStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogFormatter.NoopFormatter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogMessageFormatter.StandardMessageFormatter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogMetrics.StandardMetric
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogOutput.ContentType.StandardContentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogOutput.OutputType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogOutput.WriteMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogProperties.StandardProperties
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogRouter.Route.Routes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.LogRouter.RouteFlag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.pattern.format.PatternConfig.CacheType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.KeywordKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.SpringBootKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.spi.RainbowGumServiceProvider.Pass
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder.InitOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class io.jstach.rainbowgum.annotation.RainbowGumVersion
-
Rainbow Gum Version.
- visit(String, BiFunction) - Method in interface io.jstach.rainbowgum.LogProperties
-
Visits this properties with visitor, by default just applying visitor to this and key directly.
W
- warn(String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warn(String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warn(String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warn(String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warn(String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warn(Marker, String) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(Marker, String) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warn(Marker, String, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(Marker, String, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warn(Marker, String, Object...) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(Marker, String, Object...) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warn(Marker, String, Object, Object) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(Marker, String, Object, Object) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warn(Marker, String, Throwable) - Method in interface io.jstach.rainbowgum.slf4j.ForwardingLogger
- warn(Marker, String, Throwable) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
- warnCounter(String, long) - Method in interface io.jstach.rainbowgum.LogMetrics
-
Like
LogMetrics.errorCounter(String, long)but for something worth tracking yet less significant than an error - a trend worth watching rather than something that, by itself, indicates a problem. - Where is the Javadoc? - Section in Overview
- WHITE - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI white color
- with(LogProperties) - Method in class io.jstach.rainbowgum.LogProperties.AbstractBuilder
-
Add a fallback properties.
- with(Consumer) - Method in class io.jstach.rainbowgum.LogConfig.Builder
-
Configures the builder with a function for ergonomics.
- with(Map) - Method in class io.jstach.rainbowgum.LogProperties.MutableLogProperties.Builder
-
Sets the backing mutable map.
- withCaller(LogEvent, LogEvent.Caller) - Static method in interface io.jstach.rainbowgum.LogEvent
-
Creates a new event with the caller info attached.
- withDepth(int) - Method in class io.jstach.rainbowgum.slf4j.spi.AbstractFilteringLogger
-
A no-op: unlike
AbstractLogger-based decorators, this class's caller-info depth is a fixed internal constant rather than derived from the wrap-countLoggerDecoratorService.decorate(RainbowGum, DepthAwareLogger, int)passes in, so there is nothing to recreate. - withDepth(int) - Method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareLogger
-
Will recreate the logger with desired depth.
- withDepth(Logger, int) - Static method in interface io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService.DepthAwareLogger
-
Will recreate the logger with desired depth if possible.
- WrappingLogger - Interface in io.jstach.rainbowgum.slf4j
-
A marker interface to check if it is a logger that is decorating.
- write(JsonBuffer.JSONToken) - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Writes a JSON token.
- write(LogEvent[], int, LogEncoder) - Method in interface io.jstach.rainbowgum.LogOutput
-
Write a batch of events by default calls
LogOutput.write(LogEvent[], int, LogEncoder, Buffer). - write(LogEvent[], int, LogEncoder, LogEncoder.Buffer) - Method in interface io.jstach.rainbowgum.LogOutput
-
Write a batch of events reusing the provided buffer and by default calling
LogOutput.write(LogEvent, Buffer)for each event synchronously. - write(LogEvent, byte[], int, int, LogOutput.ContentType) - Method in class io.jstach.rainbowgum.LogOutput.AbstractOutputStreamOutput
- write(LogEvent, byte[], int, int, LogOutput.ContentType) - Method in interface io.jstach.rainbowgum.LogOutput
-
Analogous to
OutputStream.write(byte[], int, int). - write(LogEvent, byte[], int, int, LogOutput.ContentType) - Method in class io.jstach.rainbowgum.output.ListLogOutput
- write(LogEvent, byte[], LogOutput.ContentType) - Method in interface io.jstach.rainbowgum.LogOutput
-
Analogous to
OutputStream.write(byte[]). - write(LogEvent, LogEncoder.Buffer) - Method in interface io.jstach.rainbowgum.LogOutput
-
Writes a prepared buffer and by default drains the buffer to this output.
- write(LogEvent, String) - Method in interface io.jstach.rainbowgum.LogOutput
-
Writes a string and by default with charset
StandardCharsets.UTF_8. - write(LogEvent, String) - Method in class io.jstach.rainbowgum.output.ListLogOutput
- write(LogEvent, ByteBuffer, LogOutput.ContentType) - Method in interface io.jstach.rainbowgum.LogOutput
-
Write event with byte buffer.
- write(String, String, int) - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Writes a string field.
- write(String, String, int, int) - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Writes a string field.
- writeArrayElementObjectEnd() - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Ends an array element object previously started with
JsonBuffer.writeArrayElementObjectStart(int). - writeArrayElementObjectStart(int) - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Starts an anonymous JSON object as an array element (no field name), e.g. the
{in[{...},{...}]. - writeArrayEnd() - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Ends a nested JSON array previously started with
JsonBuffer.writeArrayStart(String, int, int). - writeArrayStart(String, int, int) - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Starts a nested JSON array as a field value, e.g.
- writeDouble(String, double, int, int) - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Writes a double field.
- writeInt(String, int, int, int) - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Writes a string field.
- writeLineFeed() - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Efficiently writes a line feed.
- writeLong(String, long, int, int) - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Writes a long field.
- writeMethod() - Method in interface io.jstach.rainbowgum.LogEncoder.BufferHints
-
The preferred write style of the output.
- writeMethod() - Method in enum class io.jstach.rainbowgum.LogOutput.WriteMethod
- writeObjectEnd() - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Ends a nested JSON object previously started with
JsonBuffer.writeObjectStart(String, int, int). - writeObjectStart(String, int, int) - Method in class io.jstach.rainbowgum.json.JsonBuffer
-
Starts a nested JSON object as a field value, e.g.
- writeProperties(Map) - Static method in class io.jstach.rainbowgum.PropertiesParser
-
Writes properties.
- Writing a decorator - Section in class io.jstach.rainbowgum.slf4j.spi.LoggerDecoratorService
Y
- YELLOW - Enum constant in enum class io.jstach.rainbowgum.pattern.format.PatternRegistry.ColorKey
-
ANSI yellow color
Z
- zoneId() - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoder
-
The zone used to render
@timestamp. - zoneId() - Method in interface io.jstach.rainbowgum.pattern.format.PatternConfig
-
Default zoneId if not specified.
- zoneId(ZoneId) - Method in class io.jstach.rainbowgum.json.encoder.LogstashEncoderBuilder
-
Sets zoneId.
- zoneId(ZoneId) - Method in class io.jstach.rainbowgum.pattern.format.PatternConfigBuilder
-
Sets zoneId.
_
- _apply(T) - Method in interface io.jstach.rainbowgum.LogProperty.PropertyFunction
-
Apply that throws error.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form