Index

A B C D E F G H I J K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form

A

acceptsCn(String) - Method in class org.gaardeon.largus.SinkConfig
Checks if a log entry with the given CN should be included based on the CN filter.
acceptsGroup(LogLevel) - Method in class org.gaardeon.largus.SinkConfig
Checks if a log group with the given highest severity should be written to this sink.
addEntry(LogEntry) - Method in class org.gaardeon.largus.LogContext
Adds a log entry to this context.
addSink(LogSink) - Method in class org.gaardeon.largus.CompositeLogSink
Adds a sink to this composite.
addSink(LogSink) - Method in class org.gaardeon.largus.LoggingConfig.Builder
Adds a sink configuration.
addSink(SinkConfig) - Method in class org.gaardeon.largus.LoggingConfig.Builder
Adds a sink configuration.
addSinks(List) - Method in class org.gaardeon.largus.LoggingConfig.Builder
Adds multiple sink configurations.
ALWAYS - Enum constant in enum class org.gaardeon.largus.LogContext.FlushBehavior
Always flush entries when context completes.
assertContainsMessage(String) - Method in class org.gaardeon.largus.MemoryLogSink
Throws AssertionError if no entry contains the message.
assertEntryCount(int) - Method in class org.gaardeon.largus.MemoryLogSink
Throws AssertionError if entry count doesn't match.
assertHasError() - Method in class org.gaardeon.largus.MemoryLogSink
Throws AssertionError if no error was logged.
assertNoErrors() - Method in class org.gaardeon.largus.MemoryLogSink
Throws AssertionError if an error was logged.
async(boolean) - Method in class org.gaardeon.largus.FileLogSink.Builder
Sets whether to write asynchronously.
async(boolean) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets whether to write asynchronously (file sinks only).
at(LogLevel) - Method in class org.gaardeon.largus.Logger
Starts building a log entry at the specified level.
atDebug() - Method in class org.gaardeon.largus.Logger
Starts building a DEBUG level log entry.
atError() - Method in class org.gaardeon.largus.Logger
Starts building an ERROR level log entry.
atInfo() - Method in class org.gaardeon.largus.Logger
Starts building an INFO level log entry.
attr(String, Object) - Method in class org.gaardeon.largus.Logger.LogBuilder
Adds an attribute.
atTrace() - Method in class org.gaardeon.largus.Logger
Starts building a TRACE level log entry.
attribute(String, Object) - Method in class org.gaardeon.largus.LogEntry.Builder
 
attributes(Map) - Method in class org.gaardeon.largus.LogEntry.Builder
 
attrs(Map) - Method in class org.gaardeon.largus.Logger.LogBuilder
Adds multiple attributes.
atWarn() - Method in class org.gaardeon.largus.Logger
Starts building a WARN level log entry.

B

Basic Usage - Section in class org.gaardeon.largus.LargusAround
 
Basic Usage - Section in package org.gaardeon.largus
 
Basic Usage: - Section in class org.gaardeon.largus.Logger
 
breadcrumb(String, Map) - Method in class org.gaardeon.largus.Logger
Adds a breadcrumb with additional attributes.
build() - Method in class org.gaardeon.largus.FileLogSink.Builder
 
build() - Method in class org.gaardeon.largus.FlushLevelConfig.Builder
Builds the FlushLevelConfig.
build() - Method in class org.gaardeon.largus.LogEntry.Builder
 
build() - Method in class org.gaardeon.largus.LoggingConfig.Builder
Builds the LoggingConfig.
build() - Method in class org.gaardeon.largus.SinkConfig.Builder
Builds the SinkConfig.
buildAndConfigure() - Method in class org.gaardeon.largus.LoggingConfig.Builder
 
builder() - Static method in class org.gaardeon.largus.FileLogSink
Creates a builder for FileLogSink.
builder() - Static method in class org.gaardeon.largus.FlushLevelConfig
Creates a new builder for custom configuration.
builder() - Static method in class org.gaardeon.largus.LogEntry
Creates a new builder for constructing LogEntry instances.
builder() - Static method in class org.gaardeon.largus.LoggingConfig
Creates a new builder for LoggingConfig.
builder(SinkType, String) - Static method in class org.gaardeon.largus.SinkConfig
Creates a builder for a sink of the specified type.
Builder() - Constructor for class org.gaardeon.largus.FileLogSink.Builder
 
Builder() - Constructor for class org.gaardeon.largus.LogEntry.Builder
 

C

callWithAdvice(ScopedValue.CallableOp) - Method in class org.gaardeon.largus.LargusAround
 
capacity(int) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets the maximum number of entries to retain (memory sinks only).
cause(Throwable) - Method in class org.gaardeon.largus.Logger.LogBuilder
Alias for throwable().
clear() - Method in class org.gaardeon.largus.MemoryLogSink
Clears all stored entries.
close() - Method in class org.gaardeon.largus.CompositeLogSink
 
close() - Method in class org.gaardeon.largus.FileLogSink
 
close() - Method in interface org.gaardeon.largus.LogSink
Closes this sink and releases any resources.
cnFilter() - Method in class org.gaardeon.largus.SinkConfig
Returns the CN filter as an Optional.
cnFilter(String) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets the CN (class name) filter prefix.
colorized(boolean) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets whether to use colorized output (console sinks only).
complete() - Method in class org.gaardeon.largus.LogContext
Completes this context, flushing accumulated entries based on the configured flush behavior and the FlushLevelConfig.
CompositeLogSink - Class in org.gaardeon.largus
A LogSink that delegates to multiple child sinks.
CompositeLogSink() - Constructor for class org.gaardeon.largus.CompositeLogSink
 
CompositeLogSink(List) - Constructor for class org.gaardeon.largus.CompositeLogSink
 
Concept: - Section in class org.gaardeon.largus.FlushLevelConfig
 
console(String) - Static method in class org.gaardeon.largus.SinkConfig
Creates a builder for a console sink.
CONSOLE - Enum constant in enum class org.gaardeon.largus.SinkType
Console sink - writes to stdout/stderr with optional ANSI colors.
ConsoleLogSink - Class in org.gaardeon.largus
A LogSink that writes log entries to the console.
ConsoleLogSink() - Constructor for class org.gaardeon.largus.ConsoleLogSink
Creates a new ConsoleLogSink with default settings.
ConsoleLogSink(boolean, LogLevel) - Constructor for class org.gaardeon.largus.ConsoleLogSink
Creates a new ConsoleLogSink with the specified settings.
ConsoleLogSink(boolean, LogLevel, PrintStream, PrintStream) - Constructor for class org.gaardeon.largus.ConsoleLogSink
Creates a new ConsoleLogSink with custom streams (useful for testing).
containsMessage(String) - Method in class org.gaardeon.largus.MemoryLogSink
Checks if any entry contains the given message substring.
context(String) - Method in class org.gaardeon.largus.Logger
Logs a CONTEXT level message (breadcrumb).
context(String, Object...) - Method in class org.gaardeon.largus.Logger
Logs a CONTEXT level formatted message.
CONTEXT - Enum constant in enum class org.gaardeon.largus.LogLevel
Contextual information that is captured but only written to the log if an error occurs.
ContextBatch(String, List, LogLevel) - Constructor for record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Creates an instance of a ContextBatch record class.
contextId() - Method in record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Returns the value of the contextId record component.
contextId(Object) - Method in class org.gaardeon.largus.LogEntry.Builder
 
Context Severity: - Section in interface org.gaardeon.largus.LogSink
 
Contextual Logging (Breadcrumbs): - Section in class org.gaardeon.largus.Logger
 
create(SinkConfig) - Static method in class org.gaardeon.largus.SinkFactory
Creates a LogSink from a SinkConfig.

D

debug(String) - Method in class org.gaardeon.largus.Logger
Logs a DEBUG level message.
debug(String, Object...) - Method in class org.gaardeon.largus.Logger
Logs a DEBUG level formatted message.
DEBUG - Enum constant in enum class org.gaardeon.largus.LogLevel
Detailed information useful for debugging.
defaults() - Static method in class org.gaardeon.largus.FlushLevelConfig
Creates the default flush level configuration.
defaults() - Static method in class org.gaardeon.largus.LoggingConfig
Creates a default LoggingConfig with default FlushLevelConfig and no sinks.
Design Philosophy - Section in package org.gaardeon.largus
 
development() - Static method in class org.gaardeon.largus.FlushLevelConfig
Creates a configuration optimized for development: verbose output always.

E

emit() - Method in class org.gaardeon.largus.Logger.LogBuilder
Alias for log().
enabled(boolean) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets whether this sink is enabled.
entries() - Method in record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Returns the value of the entries record component.
equals(Object) - Method in record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.gaardeon.largus.SinkConfig
 
error(String) - Method in class org.gaardeon.largus.Logger
Logs an ERROR level message.
error(String, Object...) - Method in class org.gaardeon.largus.Logger
Logs an ERROR level formatted message.
error(String, Throwable) - Method in class org.gaardeon.largus.Logger
Logs an ERROR level message with an exception.
error(Throwable, String, Object...) - Method in class org.gaardeon.largus.Logger
Logs an ERROR level formatted message with an exception.
ERROR - Enum constant in enum class org.gaardeon.largus.LogLevel
Errors that require immediate attention and typically trigger immediate flushing of all accumulated log messages.
Example usage: - Section in class org.gaardeon.largus.SinkConfig
 

F

file(String) - Static method in class org.gaardeon.largus.SinkConfig
Creates a builder for a file sink.
FILE - Enum constant in enum class org.gaardeon.largus.SinkType
File sink - writes to a file with optional rotation.
FileLogSink - Class in org.gaardeon.largus
A LogSink that writes log entries to files.
FileLogSink.Builder - Class in org.gaardeon.largus
Builder for FileLogSink.
filename(String) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets the filename/path from a string (file sinks only).
filename(Path) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets the filename/path (file sinks only).
findByMessage(String) - Method in class org.gaardeon.largus.MemoryLogSink
Returns the first entry containing the given message substring.
fixed(LogLevel) - Static method in class org.gaardeon.largus.FlushLevelConfig
Creates a configuration that only shows entries at or above the given level, regardless of context severity.
Fluent API: - Section in class org.gaardeon.largus.Logger
 
flush() - Method in class org.gaardeon.largus.CompositeLogSink
 
flush() - Method in class org.gaardeon.largus.FileLogSink
 
flush() - Method in interface org.gaardeon.largus.LogSink
Flushes any buffered data.
flushLevelConfig(FlushLevelConfig) - Method in class org.gaardeon.largus.LoggingConfig.Builder
Sets the flush level configuration.
FlushLevelConfig - Class in org.gaardeon.largus
Configuration for context-aware log level filtering at flush time.
FlushLevelConfig.Builder - Class in org.gaardeon.largus
Builder for creating custom FlushLevelConfig instances.
Flush-Time Filtering: - Section in class org.gaardeon.largus.LogContext
 
forPropagation(String) - Method in class org.gaardeon.largus.LargusAround
This is used by Gaardeon Around Advice API to propagate child logging contexts when spinning up new child threads

G

generateId() - Static method in class org.gaardeon.largus.LogContext
Generates a unique context ID.
generateId(String) - Static method in class org.gaardeon.largus.LogContext
Generates a unique context ID with a prefix.
getAllAttributes() - Method in class org.gaardeon.largus.LogContext
Gets all attributes including inherited ones from parent contexts.
getAsync() - Method in class org.gaardeon.largus.SinkConfig
Returns whether async writing is enabled for file sinks.
getAttribute(String) - Method in class org.gaardeon.largus.LogContext
Gets an attribute value.
getAttributes() - Method in class org.gaardeon.largus.LogEntry
 
getBatches() - Method in class org.gaardeon.largus.MemoryLogSink
Returns all context batches.
getCapacity() - Method in class org.gaardeon.largus.SinkConfig
Returns the capacity (max entries) for memory sinks.
getCapacity(int) - Method in class org.gaardeon.largus.SinkConfig
Returns the capacity, with a default value.
getCnFilter() - Method in class org.gaardeon.largus.SinkConfig
Returns the CN (class name) filter prefix, or null if no filter is set.
getColorized() - Method in class org.gaardeon.largus.SinkConfig
Returns whether colorized output is enabled for console sinks.
getContextId() - Method in class org.gaardeon.largus.LogEntry
 
getDirectSinks() - Method in class org.gaardeon.largus.LoggingConfig
 
getEntries() - Method in class org.gaardeon.largus.MemoryLogSink
Returns all stored entries.
getEntries(Predicate) - Method in class org.gaardeon.largus.MemoryLogSink
Returns entries matching the given predicate.
getEntriesAtLevel(LogLevel) - Method in class org.gaardeon.largus.MemoryLogSink
Returns entries at the specified level.
getEntriesFromContext(Object) - Method in class org.gaardeon.largus.MemoryLogSink
Returns entries from the specified context.
getEntriesFromLogger(String) - Method in class org.gaardeon.largus.MemoryLogSink
Returns entries from the specified logger.
getEntryCount() - Method in class org.gaardeon.largus.MemoryLogSink
Returns the number of stored entries.
getErrorCount() - Method in class org.gaardeon.largus.MemoryLogSink
Returns the number of error entries.
getFilename() - Method in class org.gaardeon.largus.SinkConfig
Returns the filename/path for file sinks.
getFirstEntry() - Method in class org.gaardeon.largus.MemoryLogSink
Returns the first entry.
getFlushLevelConfig() - Method in class org.gaardeon.largus.LoggingConfig
Returns the flush level configuration for context-aware filtering.
getFullId() - Method in class org.gaardeon.largus.LogContext
Returns the full context ID including parent paths.
getHighestSeverity() - Method in class org.gaardeon.largus.LogContext
Returns the highest severity level of any entry in this context.
getLastEntry() - Method in class org.gaardeon.largus.MemoryLogSink
Returns the last entry.
getLevel() - Method in class org.gaardeon.largus.LogEntry
 
getLevelMappings() - Method in class org.gaardeon.largus.FlushLevelConfig
Returns an unmodifiable view of the level mappings.
getLoggerName() - Method in class org.gaardeon.largus.LogEntry
 
getMaxFileSize() - Method in class org.gaardeon.largus.SinkConfig
Returns the maximum file size in bytes before rotation.
getMaxFileSize(long) - Method in class org.gaardeon.largus.SinkConfig
Returns the maximum file size, with a default value.
getMessage() - Method in class org.gaardeon.largus.LogEntry
 
getMinimumEntryLevel(LogLevel) - Method in class org.gaardeon.largus.FlushLevelConfig
Returns the minimum entry level to include when flushing a context whose highest severity is the given level.
getMinimumLevel() - Method in class org.gaardeon.largus.CompositeLogSink
 
getMinimumLevel() - Method in class org.gaardeon.largus.ConsoleLogSink
 
getMinimumLevel() - Method in class org.gaardeon.largus.FileLogSink
 
getMinimumLevel() - Method in interface org.gaardeon.largus.LogSink
Returns the minimum log level this sink will accept.
getMinimumLevel() - Method in class org.gaardeon.largus.MemoryLogSink
 
getMinLevel() - Method in class org.gaardeon.largus.SinkConfig
Returns the minimum log level for log groups to be written to this sink.
getName() - Method in class org.gaardeon.largus.LogContext
Returns the context ID.
getName() - Method in class org.gaardeon.largus.Logger
Returns the logger name.
getName() - Method in class org.gaardeon.largus.SinkConfig
Returns the unique name for this sink.
getParent() - Method in class org.gaardeon.largus.LogContext
Returns the parent context, or null if this is a root context.
getRotateDaily() - Method in class org.gaardeon.largus.SinkConfig
Returns whether daily rotation is enabled for file sinks.
getSeverity() - Method in enum class org.gaardeon.largus.LogLevel
Returns the numeric severity value (lower = more severe).
getSink(String) - Method in class org.gaardeon.largus.LoggingConfig
Returns a sink by name, or null if not found.
getSinks() - Method in class org.gaardeon.largus.CompositeLogSink
Returns all child sinks.
getSinks() - Method in class org.gaardeon.largus.LoggingConfig
Returns an unmodifiable list of sink configurations.
getSinksByType(SinkType) - Method in class org.gaardeon.largus.LoggingConfig
Returns all sinks of a given type.
getSource() - Method in class org.gaardeon.largus.LogEntry
 
getStartTime() - Method in class org.gaardeon.largus.LogContext
Returns when this context was created.
getThreadName() - Method in class org.gaardeon.largus.LogEntry
 
getThrowable() - Method in class org.gaardeon.largus.LogEntry
 
getTimestamp() - Method in class org.gaardeon.largus.LogEntry
 
getType() - Method in class org.gaardeon.largus.SinkConfig
Returns the sink type.

H

hasError() - Method in class org.gaardeon.largus.LogContext
Checks if this context has received any error-level entries.
hasError() - Method in class org.gaardeon.largus.MemoryLogSink
Checks if any error was logged.
hashCode() - Method in record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Returns a hash code value for this object.
hashCode() - Method in class org.gaardeon.largus.SinkConfig
 

I

info(String) - Method in class org.gaardeon.largus.Logger
Logs an INFO level message.
info(String, Object...) - Method in class org.gaardeon.largus.Logger
Logs an INFO level formatted message.
INFO - Enum constant in enum class org.gaardeon.largus.LogLevel
Informational messages about normal operation.
isAsync(boolean) - Method in class org.gaardeon.largus.SinkConfig
Returns whether async writing is enabled, with a default value.
isColorized(boolean) - Method in class org.gaardeon.largus.SinkConfig
Returns whether colorized output is enabled, with a default value.
isCompleted() - Method in class org.gaardeon.largus.LogContext
Checks if this context has been completed.
isContextOnly() - Method in class org.gaardeon.largus.LogEntry
Checks if this is a context-only entry (CONTEXT level).
isDebugEnabled() - Method in class org.gaardeon.largus.Logger
Deprecated.
isEnabled() - Method in class org.gaardeon.largus.SinkConfig
Returns whether this sink is enabled.
isError() - Method in class org.gaardeon.largus.LogEntry
Checks if this entry represents an error condition.
isErrorEnabled() - Method in class org.gaardeon.largus.Logger
Deprecated.
isInfoEnabled() - Method in class org.gaardeon.largus.Logger
Deprecated.
isLevelDisabled(LogLevel) - Method in class org.gaardeon.largus.LoggingConfig
Checks if a specific log level is disabled (mapped to OFF).
isRotateDaily(boolean) - Method in class org.gaardeon.largus.SinkConfig
Returns whether daily rotation is enabled, with a default value.
isTraceEnabled() - Method in class org.gaardeon.largus.Logger
Deprecated.
Level checking is less meaningful with flush-time filtering. Entries are always accepted; filtering happens at flush time based on context severity.
isWarnEnabled() - Method in class org.gaardeon.largus.Logger
Deprecated.

J

JSON format example: - Section in class org.gaardeon.largus.LoggingConfig
 

K

Key Behaviors: - Section in class org.gaardeon.largus.LogContext
 

L

largus() - Static method in class org.gaardeon.largus.LargusAround
 
largus(String) - Static method in class org.gaardeon.largus.LargusAround
 
LargusAround - Class in org.gaardeon.largus
Defines the Around Advice for creating Logging contexts
LargusAround() - Constructor for class org.gaardeon.largus.LargusAround
Creates a new LoggingAdvice for normal use.
LargusAround(String) - Constructor for class org.gaardeon.largus.LargusAround
 
level() - Method in record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Returns the value of the level record component.
level(LogLevel) - Method in class org.gaardeon.largus.LogEntry.Builder
 
Level Filtering: - Section in class org.gaardeon.largus.CompositeLogSink
 
Lifecycle: - Section in class org.gaardeon.largus.LogContext
 
log() - Method in class org.gaardeon.largus.Logger.LogBuilder
Logs the entry.
LogContext - Class in org.gaardeon.largus
Represents a logging context that accumulates log entries.
LogContext.FlushBehavior - Enum Class in org.gaardeon.largus
Controls when accumulated log entries are flushed.
LogEntry - Class in org.gaardeon.largus
Represents a single log entry with structured data.
LogEntry.Builder - Class in org.gaardeon.largus
Builder for creating LogEntry instances.
Logger - Class in org.gaardeon.largus
The main user-facing API for structured logging.
Logger() - Constructor for class org.gaardeon.largus.Logger
Creates a Logger with an auto-detected name based on the calling class.
Logger(Class) - Constructor for class org.gaardeon.largus.Logger
Creates a Logger named after the given class.
Logger(String) - Constructor for class org.gaardeon.largus.Logger
Creates a Logger with the given name.
Logger.LogBuilder - Class in org.gaardeon.largus
Fluent builder for log entries with attributes.
loggerName(String) - Method in class org.gaardeon.largus.LogEntry.Builder
 
LoggingConfig - Class in org.gaardeon.largus
Top-level logging configuration container.
LoggingConfig.Builder - Class in org.gaardeon.largus
Builder for creating LoggingConfig instances programmatically.
LoggingConfig.LoggingConfigException - Exception Class in org.gaardeon.largus
Exception thrown when logging configuration parsing fails.
LoggingConfigExample - Class in org.gaardeon.largus
 
LoggingConfigExample() - Constructor for class org.gaardeon.largus.LoggingConfigExample
 
LoggingConfigException(String) - Constructor for exception class org.gaardeon.largus.LoggingConfig.LoggingConfigException
 
LoggingConfigException(String, Throwable) - Constructor for exception class org.gaardeon.largus.LoggingConfig.LoggingConfigException
 
LoggingExamples - Class in org.gaardeon.largus
Comprehensive examples demonstrating the structured logging framework.
LoggingExamples() - Constructor for class org.gaardeon.largus.LoggingExamples
 
LogLevel - Enum Class in org.gaardeon.largus
Log severity levels for structured logging.
LogSink - Interface in org.gaardeon.largus
Interface for log output destinations.

M

main(String[]) - Static method in class org.gaardeon.largus.LoggingConfigExample
 
main(String[]) - Static method in class org.gaardeon.largus.LoggingExamples
 
maxFileSize(long) - Method in class org.gaardeon.largus.FileLogSink.Builder
Sets the maximum file size before rotation.
maxFileSize(long) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets the maximum file size in bytes before rotation (file sinks only).
meetsThreshold(LogLevel) - Method in enum class org.gaardeon.largus.LogLevel
Checks if this level should be logged given a minimum level threshold.
memory(String) - Static method in class org.gaardeon.largus.SinkConfig
Creates a builder for a memory sink.
MEMORY - Enum constant in enum class org.gaardeon.largus.SinkType
Memory sink - stores entries in memory for testing and debugging.
MemoryLogSink - Class in org.gaardeon.largus
A LogSink that stores entries in memory for testing and debugging.
MemoryLogSink() - Constructor for class org.gaardeon.largus.MemoryLogSink
Creates a MemoryLogSink with default settings.
MemoryLogSink(LogLevel) - Constructor for class org.gaardeon.largus.MemoryLogSink
Creates a MemoryLogSink with the specified minimum level.
MemoryLogSink(LogLevel, int) - Constructor for class org.gaardeon.largus.MemoryLogSink
Creates a MemoryLogSink with custom settings.
MemoryLogSink.ContextBatch - Record Class in org.gaardeon.largus
Represents a batch of log entries from a single context.
message(String) - Method in class org.gaardeon.largus.LogEntry.Builder
 
message(String) - Method in class org.gaardeon.largus.Logger.LogBuilder
Sets the log message.
message(String, Object...) - Method in class org.gaardeon.largus.LogEntry.Builder
 
message(String, Object...) - Method in class org.gaardeon.largus.Logger.LogBuilder
Sets the log message with format arguments.
minimumLevel(LogLevel) - Method in class org.gaardeon.largus.FileLogSink.Builder
Sets the minimum log level to write.
minLevel() - Method in class org.gaardeon.largus.SinkConfig
Returns the minimum log level as an Optional.
minLevel(LogLevel) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets the minimum log level for log groups.

N

NEVER - Enum constant in enum class org.gaardeon.largus.LogContext.FlushBehavior
Never flush entries (discard them).
No Entry-Time Filtering: - Section in class org.gaardeon.largus.FlushLevelConfig
 
No Entry-Time Filtering: - Section in class org.gaardeon.largus.Logger
 

O

of(LogSink...) - Static method in class org.gaardeon.largus.CompositeLogSink
Creates a CompositeLogSink with the given sinks.
OFF - Enum constant in enum class org.gaardeon.largus.LogLevel
 
on(LogLevel, LogLevel) - Method in class org.gaardeon.largus.FlushLevelConfig.Builder
Sets the minimum entry level for a specific context severity.
ON_ERROR - Enum constant in enum class org.gaardeon.largus.LogContext.FlushBehavior
Only flush entries if an error was logged.
onContext(LogLevel) - Method in class org.gaardeon.largus.FlushLevelConfig.Builder
Sets the minimum entry level to include when the context's highest severity is CONTEXT.
onDebug(LogLevel) - Method in class org.gaardeon.largus.FlushLevelConfig.Builder
Sets the minimum entry level to include when the context's highest severity is DEBUG.
onError(LogLevel) - Method in class org.gaardeon.largus.FlushLevelConfig.Builder
Sets the minimum entry level to include when the context's highest severity is ERROR.
onInfo(LogLevel) - Method in class org.gaardeon.largus.FlushLevelConfig.Builder
Sets the minimum entry level to include when the context's highest severity is INFO.
onTrace(LogLevel) - Method in class org.gaardeon.largus.FlushLevelConfig.Builder
Sets the minimum entry level to include when the context's highest severity is TRACE.
onWarn(LogLevel) - Method in class org.gaardeon.largus.FlushLevelConfig.Builder
Sets the minimum entry level to include when the context's highest severity is WARN.
org.gaardeon.largus - module org.gaardeon.largus
 
org.gaardeon.largus - package org.gaardeon.largus
Core components of the structured logging framework.
Out-of-Context Logging: - Section in class org.gaardeon.largus.Logger
 

P

parse(InputStream) - Static method in class org.gaardeon.largus.LoggingConfig
Parses logging configuration from an InputStream (auto-detects JSON or XML).
parse(Reader) - Static method in class org.gaardeon.largus.LoggingConfig
Parses logging configuration from a Reader (auto-detects JSON or XML).
parse(String) - Static method in class org.gaardeon.largus.LoggingConfig
Parses logging configuration from a string (auto-detects JSON or XML).
path(String) - Method in class org.gaardeon.largus.FileLogSink.Builder
 
path(Path) - Method in class org.gaardeon.largus.FileLogSink.Builder
 
production() - Static method in class org.gaardeon.largus.FlushLevelConfig
Creates a configuration optimized for production: minimal output normally, full detail on errors.

R

removeSink(LogSink) - Method in class org.gaardeon.largus.CompositeLogSink
Removes a sink from this composite.
rotateDaily(boolean) - Method in class org.gaardeon.largus.FileLogSink.Builder
Enables daily rotation (new file each day).
rotateDaily(boolean) - Method in class org.gaardeon.largus.SinkConfig.Builder
Sets whether to rotate files daily (file sinks only).

S

setAttribute(String, Object) - Method in class org.gaardeon.largus.LogContext
Adds an attribute that will be included in all log entries.
setAttribute(String, Object) - Method in class org.gaardeon.largus.Logger
 
setFlushBehavior(LogContext.FlushBehavior) - Method in class org.gaardeon.largus.LogContext
Sets the flush behavior for this context.
shouldInclude(LogLevel, LogLevel) - Method in class org.gaardeon.largus.FlushLevelConfig
Checks if an entry should be included when flushing a context with the given highest severity.
showAll() - Static method in class org.gaardeon.largus.FlushLevelConfig
Creates a configuration that shows all entries regardless of context severity.
SinkConfig - Class in org.gaardeon.largus
Configuration for a single log sink (output destination).
SinkConfig.Builder - Class in org.gaardeon.largus
Builder for creating SinkConfig instances.
SinkCreationException(String, Throwable) - Constructor for exception class org.gaardeon.largus.SinkFactory.SinkCreationException
 
SinkFactory - Class in org.gaardeon.largus
Factory for creating LogSink instances from SinkConfig definitions.
SinkFactory.SinkCreationException - Exception Class in org.gaardeon.largus
Exception thrown when sink creation fails.
SinkType - Enum Class in org.gaardeon.largus
Enumeration of supported log sink types.
source(StackTraceElement) - Method in class org.gaardeon.largus.LogEntry.Builder
 
Supported formats: - Section in class org.gaardeon.largus.LoggingConfig
 
Supported Sink Types: - Section in class org.gaardeon.largus.SinkFactory
 

T

threadName(String) - Method in class org.gaardeon.largus.LogEntry.Builder
 
throwable(Throwable) - Method in class org.gaardeon.largus.LogEntry.Builder
 
throwable(Throwable) - Method in class org.gaardeon.largus.Logger.LogBuilder
Sets an exception.
timestamp(Instant) - Method in class org.gaardeon.largus.LogEntry.Builder
 
toBuilder() - Method in class org.gaardeon.largus.LogEntry
Creates a builder pre-populated with values from this entry.
toString() - Method in class org.gaardeon.largus.FlushLevelConfig
 
toString() - Method in class org.gaardeon.largus.LogContext
 
toString() - Method in class org.gaardeon.largus.LogEntry
 
toString() - Method in class org.gaardeon.largus.LoggingConfig
 
toString() - Method in record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Returns a string representation of this record class.
toString() - Method in class org.gaardeon.largus.SinkConfig
 
trace(String) - Method in class org.gaardeon.largus.Logger
Logs a TRACE level message.
trace(String, Object...) - Method in class org.gaardeon.largus.Logger
Logs a TRACE level formatted message.
TRACE - Enum constant in enum class org.gaardeon.largus.LogLevel
Very detailed tracing information.

U

Usage: - Section in class org.gaardeon.largus.FileLogSink
 
Usage: - Section in class org.gaardeon.largus.FlushLevelConfig
 
Usage in Tests: - Section in class org.gaardeon.largus.MemoryLogSink
 

V

valueOf(String) - Static method in enum class org.gaardeon.largus.LogContext.FlushBehavior
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.gaardeon.largus.LogLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.gaardeon.largus.SinkType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.gaardeon.largus.LogContext.FlushBehavior
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.gaardeon.largus.LogLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.gaardeon.largus.SinkType
Returns an array containing the constants of this enum class, in the order they are declared.

W

warn(String) - Method in class org.gaardeon.largus.Logger
Logs a WARN level message.
warn(String, Object...) - Method in class org.gaardeon.largus.Logger
Logs a WARN level formatted message.
warn(String, Throwable) - Method in class org.gaardeon.largus.Logger
Logs a WARN level message with an exception.
warn(Throwable, String, Object...) - Method in class org.gaardeon.largus.Logger
Logs a WARN level formatted message with an exception.
WARN - Enum constant in enum class org.gaardeon.largus.LogLevel
Warning conditions that may require attention but don't necessarily indicate a failure.
withAttribute(String, Object) - Method in class org.gaardeon.largus.LogEntry
Returns a new entry with the specified attribute added.
write(List, String, LogLevel) - Method in class org.gaardeon.largus.CompositeLogSink
 
write(List, String, LogLevel) - Method in class org.gaardeon.largus.ConsoleLogSink
 
write(List, String, LogLevel) - Method in class org.gaardeon.largus.FileLogSink
 
write(List, String, LogLevel) - Method in interface org.gaardeon.largus.LogSink
Writes a batch of log entries with context severity information.
write(List, String, LogLevel) - Method in class org.gaardeon.largus.MemoryLogSink
 
writeImmediate(LogEntry) - Method in class org.gaardeon.largus.CompositeLogSink
 
writeImmediate(LogEntry) - Method in class org.gaardeon.largus.ConsoleLogSink
 
writeImmediate(LogEntry) - Method in class org.gaardeon.largus.FileLogSink
 
writeImmediate(LogEntry) - Method in interface org.gaardeon.largus.LogSink
Writes a single log entry immediately.
writeImmediate(LogEntry) - Method in class org.gaardeon.largus.MemoryLogSink
 

X

XML format example: - Section in class org.gaardeon.largus.LoggingConfig
 
A B C D E F G H I J K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form