Index
All Classes|All Packages
B
- build() - Method in class org.creekservice.internal.observability.logging.structured.DefaultLogEntryCustomizer
-
Build the log entry
C
- create(String) - Static method in class org.creekservice.internal.observability.logging.structured.DefaultLogEntryCustomizer
-
Factory method
- creek.observability.logging - module creek.observability.logging
-
Module containing machine friendly logging
D
- debug(String) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a debug level message, if level is enabled.
- debug(String, Consumer<LogEntryCustomizer>) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a debug level message, if level is enabled.
- DEBUG - Enum constant in enum class org.creekservice.api.observability.logging.structured.Level
-
Debug log level
- DefaultLogEntryCustomizer - Class in org.creekservice.internal.observability.logging.structured
-
Default impl of the
LogEntryCustomizertype. - DefaultLogEntryCustomizer.Field - Enum Class in org.creekservice.internal.observability.logging.structured
-
Standard fields
E
- error(String) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a error level message, if level is enabled
- error(String, Consumer<LogEntryCustomizer>) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a error level message, if level is enabled.
- ERROR - Enum constant in enum class org.creekservice.api.observability.logging.structured.Level
-
Error log level
I
- info(String) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a info level message, if level is enabled.
- info(String, Consumer<LogEntryCustomizer>) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a info level message, if level is enabled.
- INFO - Enum constant in enum class org.creekservice.api.observability.logging.structured.Level
-
Info log level
- internalLogger(Class<?>) - Static method in class org.creekservice.api.observability.logging.structured.StructuredLoggerFactory
-
Get a StructuredLogger for use by Creek's internal code.
L
- Level - Enum Class in org.creekservice.api.observability.logging.structured
-
Dependency free log level enumeration.
- log(Level, String) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a
messageat the suppliedlevel, if level is enabled. - log(Level, String, Consumer<LogEntryCustomizer>) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a fatal level message, if fatal level is enabled.
- log(Level, String, Consumer<LogEntryCustomizer>) - Method in class org.creekservice.internal.observability.logging.structured.Slf4jStructuredLogger
- LogEntryCustomizer - Interface in org.creekservice.api.observability.logging.structured
-
Log entry customization.
- logger(Class<?>) - Static method in class org.creekservice.api.observability.logging.structured.StructuredLoggerFactory
-
Get a StructuredLogger for the given
clazz.
M
- message - Enum constant in enum class org.creekservice.internal.observability.logging.structured.DefaultLogEntryCustomizer.Field
-
The text message field.
N
- NO_OP_CONSUMER - Static variable in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
A consumer that does nothing.
- ns(Enum<?>) - Method in interface org.creekservice.api.observability.logging.structured.LogEntryCustomizer
-
Nest the log entry with a namespace
- ns(String) - Method in interface org.creekservice.api.observability.logging.structured.LogEntryCustomizer
-
Nest the log entry within a namespace.
- ns(String) - Method in class org.creekservice.internal.observability.logging.structured.DefaultLogEntryCustomizer
O
- org.creekservice.api.observability.logging.structured - package org.creekservice.api.observability.logging.structured
- org.creekservice.internal.observability.logging.structured - package org.creekservice.internal.observability.logging.structured
S
- Slf4jStructuredLogger - Class in org.creekservice.internal.observability.logging.structured
-
Structured logger implementation for slf4j.
- Slf4jStructuredLogger(Class<?>, Optional<String>) - Constructor for class org.creekservice.internal.observability.logging.structured.Slf4jStructuredLogger
- StructuredLogger - Interface in org.creekservice.api.observability.logging.structured
-
Logger interface that encourages more structured logging.
- StructuredLoggerFactory - Class in org.creekservice.api.observability.logging.structured
-
Factory class for loggers.
T
- throwable() - Method in class org.creekservice.internal.observability.logging.structured.DefaultLogEntryCustomizer
- trace(String) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a trace level message, if level is enabled.
- trace(String, Consumer<LogEntryCustomizer>) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a trace level message, if level is enabled.
- TRACE - Enum constant in enum class org.creekservice.api.observability.logging.structured.Level
-
Trace log level
V
- valueOf(String) - Static method in enum class org.creekservice.api.observability.logging.structured.Level
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.creekservice.internal.observability.logging.structured.DefaultLogEntryCustomizer.Field
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.creekservice.api.observability.logging.structured.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.creekservice.internal.observability.logging.structured.DefaultLogEntryCustomizer.Field
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warn(String) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a warn level message, if level is enabled.
- warn(String, Consumer<LogEntryCustomizer>) - Method in interface org.creekservice.api.observability.logging.structured.StructuredLogger
-
Log a warn level message, if level is enabled.
- WARN - Enum constant in enum class org.creekservice.api.observability.logging.structured.Level
-
Warn log level
- with(Enum<?>, Object) - Method in interface org.creekservice.api.observability.logging.structured.LogEntryCustomizer
-
Attach a key-value pair to the log entry.
- with(String, Object) - Method in interface org.creekservice.api.observability.logging.structured.LogEntryCustomizer
-
Attach a key-value pair to the log entry.
- with(String, Object) - Method in class org.creekservice.internal.observability.logging.structured.DefaultLogEntryCustomizer
- withThrowable(Throwable) - Method in interface org.creekservice.api.observability.logging.structured.LogEntryCustomizer
-
Attach an exception or error to the log entry.
- withThrowable(Throwable) - Method in class org.creekservice.internal.observability.logging.structured.DefaultLogEntryCustomizer
All Classes|All Packages