Interface LogProperties.Listable
- All Superinterfaces:
LogProperties
- Enclosing interface:
LogProperties
Properties that can list the keys they hold, so that with
LogConfig.DebugModeType.HELP (or LogConfig.DebugModeType.ALL) keys
that were set but never read can be reported.-
Nested Class Summary
Nested classes/interfaces inherited from interface LogProperties
LogProperties.AbstractBuilder<T>, LogProperties.Builder, LogProperties.Listable, LogProperties.MutableLogProperties, LogProperties.StandardPropertiesModifier and TypeInterfaceDescriptionstatic classAbstract log properties builder.static final classBuilder for properties.static interfaceProperties that can list the keys they hold, so that withLogConfig.DebugModeType.HELP(orLogConfig.DebugModeType.ALL) keys that were set but never read can be reported.static interfaceA log properties that can be mutated like a map.static enumCommon static log properties such as System properties ane environment variables. -
Field Summary
Fields inherited from interface LogProperties
ALERTS_CAPACITY_PROPERTY, ALERTS_FAIL_PROPERTY, ALERTS_UNOBSERVED_ERRORS_ACTION_PROPERTY, ALERTS_UNUSED_KEY_PROPERTY, APPENDER_ENCODER_PROPERTY, APPENDER_FLAGS_PROPERTY, APPENDER_OUTPUT_PROPERTY, APPENDER_PREFIX, APPENDER_TYPE_PROPERTY, APPENDERS_PROPERTY, CALLER_LOGGER_PREFIX, CHANGE_LOGGER_PREFIX, CHANGE_MODE_PROPERTY, DEBUG_PROPERTY, DEFAULT_NAME, ENCODER_PREFIX, FILE_PROPERTY, GLOBAL_ANSI_MODE_PROPERTY, GLOBAL_APPENDER_LOCK_PROPERTY, GLOBAL_OPTIMIZE_PROPERTY, GLOBAL_QUEUE_ERROR_PROPERTY, GLOBAL_QUEUE_LEVEL_PROPERTY, GLOBAL_THREAD_LOCAL_PROPERTY, GROUP_PROPERTY, GROUPS_PROPERTY, KEY_VALUES_DISABLED_PROPERTY, KEY_VALUES_PREFIX, LEVEL_PREFIX, MAP_KEYS_SUFFIX, NAME, OUTPUT_PREFIX, PARAMETER_PATTERN, PUBLISHER_PREFIX, ROOT_PREFIX, ROUTE_APPENDERS_PROPERTY, ROUTE_FLAGS_PROPERTY, ROUTE_LEVEL_PREFIX, ROUTE_PREFIX, ROUTE_PUBLISHER_PROPERTY, ROUTES_PROPERTY, SEPModifier and TypeFieldDescriptionstatic final StringMaximum number of alertsLogAlertsholds in its ring buffer.static final StringAlert level at which starting Rainbow Gum fails, like treating compiler warnings as errors: seeLogAlerts.FailLevel.static final StringWhatLogAlertsdoes, once onstart, if it has recorded at least one error alert and still has zeroLogAlerts.Listeners registered - seeLogAlerts.UnobservedErrorsActionfor the three choices andLogAlerts.UnobservedErrorsAction.DUMPfor the default.static final StringAlert level for property keys that were set but not read while starting: seeLogAlerts.UnusedKeyLevel.static final StringEncoder appender property.static final StringAppender flags.static final StringOutput appender property.static final StringLogging appender prefix for configuration.static final StringAppender type (buffer/locking strategy).static final StringEnabled Logging appenders.static final StringPer logger caller info properties prefix: seeLogEvent.Caller.CallerType.static final StringPer logger change properties prefix: seeLogConfig.ChangePublisher.ChangeType.static final StringWhether runtime changes are on: seeLogConfig.ChangePublisher.ChangeMode.static final StringControls direct fail-safe bootstrap diagnostics.static final StringFor properties keys that are parameterized with "name" the name often used if not specified is: "default".static final StringPrefix of the properties configuring an appender's encoder, followed by the encoder's URI scheme, for examplelogging.appender.static final StringLogging file property for default single file appending.static final StringWhether output uses ANSI escape codes: seeLogConfig.Globals.AnsiMode.static final StringWhich kind of lock appenders use: seeLogConfig.Globals.AppenderLock.static final StringOpts 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.static final StringThe level threshold of queued events reported to standard error before Rainbow Gum is bound.static final StringThe level threshold of events captured before Rainbow Gum is fully bound.static final StringWhether the logging path may use aThreadLocal: seeLogConfig.Globals.ThreadLocalMode.static final StringGroup property with list of logger names.static final StringEnabled level groups.static final StringA comma separated list of key value sources (the lowercase names ofLogEventFactory.KeyValuesContributor.Source.Standard, for exampledefaults,slf4j) whose contributors are left out of every event's key values.static final StringKey values namespace, for properties that configure where an event's key values come from.static final StringLogging level properties prefix.static final StringSuffix of the property listing a map's keys, seeLogProperties.mapOrNull(String).static final StringA common key parameter is called name.static final StringPrefix of the properties configuring an appender's output, followed by the output's URI scheme, for examplelogging.appender.static final PatternProperty prefix parameter pattern.static final StringPrefix of the properties configuring a route's publisher, followed by the URI scheme of "logging.route.{name}.publisher.uri", for examplelogging.route.static final StringLogging properties prefix.static final StringAppenders associated with a route comma separated.static final StringRoute flags.static final StringLogging level properties prefix.static final StringRoute prefix for configuration.static final StringLogging publisher URI property.static final StringRoutes enabled with names comma separated.static final Stringproperties separator. -
Method Summary
Methods inherited from interface LogProperties
description, findOrNull, forKey, forKey, listOrNull, mapOrNull, order, value, valueOrNull, visitModifier and TypeMethodDescriptiondefault Stringdescription(String key) Describes a key and by default is usually just the key.default <T extends @Nullable Object>
@Nullable TfindOrNull(String root, String key, BiFunction<LogProperties, String, @Nullable T> func) Searches up a "." separated path using this properties to check for values.default LogPropertyStarts resolving a property under key against this properties - the preferred entry point for looking up and converting a property, seeLogProperty.default LogPropertyStarts resolving a property under key, with a{name}placeholder in key interpolated to nameParam, against this properties.listOrNull(String key) Gets a list or null if the key is missing and by default usesLogProperties.parseList(String).Gets a map or null if the key is missing and by default usesLogProperties.parseMap(String).default intorder()When log properties are coalesced this method is used to resolve order.default StringAnalogous toSystem.getProperty(String, String)with the exception that the fallback cannot be null and the return cannot be null.@Nullable StringvalueOrNull(String key) Analogous toSystem.getProperty(String).default <R extends @Nullable Object>
@Nullable Rvisit(String key, BiFunction<LogProperties, String, @Nullable R> visitor) Visits this properties with visitor, by default just applying visitor to this and key directly.
-
Method Details
-
keys
-