Index

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

A

addBreadcrumb(String) - Method in class org.gaardeon.largus.LogContext
Adds a CONTEXT-level entry (breadcrumb) that will only be logged if an error occurs.
addBreadcrumb(String, Map) - Method in class org.gaardeon.largus.LogContext
Adds a CONTEXT-level entry with attributes.
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) - Static method in class org.gaardeon.largus.LogScopes
Adds a global log sink that receives all log output.
ALWAYS - Enum constant in enum class org.gaardeon.largus.LogContext.FlushBehavior
Always flush entries when context completes.
asChild(Object, Runnable) - Static method in class org.gaardeon.largus.LogScopes
Wraps a Runnable to run in a child LogContext.
asChild(Object, Callable) - Static method in class org.gaardeon.largus.LogScopes
Wraps a Callable to run in a child LogContext.
asChild(Runnable) - Static method in class org.gaardeon.largus.LogScopes
Wraps a Runnable to run in a child LogContext with an auto-generated ID.
asChild(Callable) - Static method in class org.gaardeon.largus.LogScopes
Wraps a Callable to run in a child LogContext with an auto-generated ID.
asChildSupplier(Object, Supplier) - Static method in class org.gaardeon.largus.LogScopes
Wraps a Supplier to run in a child LogContext.
asChildSupplier(Supplier) - Static method in class org.gaardeon.largus.LogScopes
Wraps a Supplier to run in a child LogContext with an auto-generated ID.
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.
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 package org.gaardeon.largus
 
Basic Usage: - Section in class org.gaardeon.largus.FxLogContext
 
Basic Usage: - Section in class org.gaardeon.largus.LogScopes
 
Basic Usage: - Section in class org.gaardeon.largus.Logger
 
Basic Usage: - Section in class org.gaardeon.largus.SwingLogContext
 
beginContext() - Static method in class org.gaardeon.largus.LogScopes
Creates a logging context with an auto-generated ID that must be manually completed.
beginContext(Object) - Static method in class org.gaardeon.largus.LogScopes
Creates a logging context that must be manually completed.
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.LogEntry.Builder
 
builder() - Static method in class org.gaardeon.largus.FileLogSink
Creates a builder for FileLogSink.
builder() - Static method in class org.gaardeon.largus.LogEntry
Creates a new builder for constructing LogEntry instances.
Builder() - Constructor for class org.gaardeon.largus.FileLogSink.Builder
 
Builder() - Constructor for class org.gaardeon.largus.LogEntry.Builder
 

C

call(ScopedValue.CallableOp) - Method in class org.gaardeon.largus.LogContextTransfer.CapturedContext
Runs the given operation within the captured context, returning a result.
call(ScopedValue.CallableOp) - Method in class org.gaardeon.largus.LogScopes.LogContextCarrier
Runs the given operation within this context, returning a result.
callOnEDTAndWait(Supplier) - Static method in class org.gaardeon.largus.SwingLogContext
Runs an operation on the EDT and returns the result.
callOnPlatformAndWait(Supplier) - Static method in class org.gaardeon.largus.FxLogContext
Runs an operation on the Platform thread and returns the result.
callWithContext(Object, ScopedValue.CallableOp) - Static method in class org.gaardeon.largus.LogScopes
Executes the given operation within a new logging context, returning a result.
callWithContext(ScopedValue.CallableOp) - Static method in class org.gaardeon.largus.LogScopes
Executes the given operation within a new logging context with an auto-generated ID, returning a result.
capture() - Static method in class org.gaardeon.largus.LogContextTransfer
Captures the current logging context for later use.
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.
clearSinks() - Static method in class org.gaardeon.largus.LogScopes
Clears all global sinks.
close() - Method in class org.gaardeon.largus.CompositeLogSink
 
close() - Method in class org.gaardeon.largus.FileLogSink
 
close() - Method in class org.gaardeon.largus.FxLogContext.FxReactor
 
close() - Method in class org.gaardeon.largus.LoggingTaskScope
Closes this scope.
close() - Method in class org.gaardeon.largus.LogScopes.LogContextCarrier
Alias for complete() to support try-with-resources.
close() - Method in interface org.gaardeon.largus.LogSink
Closes this sink and releases any resources.
close() - Method in class org.gaardeon.largus.SwingLogContext.SwingReactor
 
complete() - Method in class org.gaardeon.largus.LogContext
Completes this context, flushing accumulated entries based on the configured flush behavior.
complete() - Method in class org.gaardeon.largus.LogContextTransfer.CapturedContext
Completes the transfer context.
complete() - Method in class org.gaardeon.largus.LogScopes.LogContextCarrier
Completes this context, flushing all accumulated logs.
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
 
compute() - Method in record class org.gaardeon.largus.FxLogContext.FlowAction
Returns the value of the compute record component.
compute() - Method in record class org.gaardeon.largus.SwingLogContext.SwingFlowAction
Returns the value of the compute record component.
computeAndApply(Supplier, Consumer) - Static method in class org.gaardeon.largus.FxLogContext
Computes a value and applies it on the Platform thread.
computeAndApply(Supplier, Consumer) - Static method in class org.gaardeon.largus.SwingLogContext
Computes a value and applies it on the EDT.
computeAsyncAndApply(Supplier, Consumer) - Static method in class org.gaardeon.largus.FxLogContext
Computes a value asynchronously and applies it on the Platform thread.
computeAsyncAndApply(Supplier, Consumer) - Static method in class org.gaardeon.largus.SwingLogContext
Computes a value asynchronously and applies it on the EDT.
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, boolean) - 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
 
Contextual Logging (Breadcrumbs): - Section in class org.gaardeon.largus.Logger
 

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.
Design Philosophy - Section in package org.gaardeon.largus
 

E

emit() - Method in class org.gaardeon.largus.Logger.LogBuilder
Alias for log().
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.FxLogContext.FlowAction
Indicates whether some other object is "equal to" this one.
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 record class org.gaardeon.largus.SwingLogContext.SwingFlowAction
Indicates whether some other object is "equal to" this one.
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.
execute() - Method in record class org.gaardeon.largus.FxLogContext.FlowAction
Executes the flow: compute then update on Platform thread.
execute() - Method in record class org.gaardeon.largus.SwingLogContext.SwingFlowAction
Executes the flow: compute then update on EDT.
executeAndWait() - Method in record class org.gaardeon.largus.FxLogContext.FlowAction
Executes the flow synchronously, waiting for UI update.
executeAndWait() - Method in record class org.gaardeon.largus.SwingLogContext.SwingFlowAction
Executes the flow synchronously, waiting for UI update.
executeAsync() - Method in record class org.gaardeon.largus.FxLogContext.FlowAction
Executes the flow asynchronously.
executeAsync() - Method in record class org.gaardeon.largus.SwingLogContext.SwingFlowAction
Executes the flow asynchronously.
executeFlow(Supplier, Consumer) - Static method in class org.gaardeon.largus.LogContextTransfer
Executes a supplier-consumer flow with context preservation.

F

FileLogSink - Class in org.gaardeon.largus
A LogSink that writes log entries to files.
FileLogSink.Builder - Class in org.gaardeon.largus
Builder for FileLogSink.
findByMessage(String) - Method in class org.gaardeon.largus.MemoryLogSink
Returns the first entry containing the given message substring.
flow(Supplier, Consumer) - Static method in class org.gaardeon.largus.FxLogContext
Creates a FlowAction.
flow(Supplier, Consumer) - Static method in class org.gaardeon.largus.SwingLogContext
Creates a SwingFlowAction.
FlowAction(Supplier, Consumer) - Constructor for record class org.gaardeon.largus.FxLogContext.FlowAction
Creates an instance of a FlowAction record class.
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.
fork(Object, Runnable) - Method in class org.gaardeon.largus.LoggingTaskScope
Forks a runnable subtask with an explicit child context ID.
fork(Object, Callable) - Method in class org.gaardeon.largus.LoggingTaskScope
Forks a subtask with an explicit child context ID.
fork(Runnable) - Method in class org.gaardeon.largus.LoggingTaskScope
Forks a runnable subtask with an auto-generated child context ID.
fork(Callable) - Method in class org.gaardeon.largus.LoggingTaskScope
Forks a subtask with an auto-generated child context ID.
FxLogContext - Class in org.gaardeon.largus
JavaFX-specific utilities for structured logging.
FxLogContext.FlowAction<T> - Record Class in org.gaardeon.largus
Represents an operation that computes a value and then updates the UI.
FxLogContext.FxReactor<T> - Class in org.gaardeon.largus
A reactor that responds to changes by computing and updating UI.
FxReactor(String, Supplier, Consumer) - Constructor for class org.gaardeon.largus.FxLogContext.FxReactor
 

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.
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.
getContextId() - Method in class org.gaardeon.largus.LogContextTransfer.CapturedContext
Gets the ID of the captured context.
getContextId() - Method in class org.gaardeon.largus.LogEntry
 
getContextId() - Method in class org.gaardeon.largus.LogScopes.LogContextCarrier
Gets the context ID.
getCurrentContext() - Static method in class org.gaardeon.largus.LogScopes
Gets the current logging context, if one exists.
getEntries() - Method in class org.gaardeon.largus.LogContext
Returns all entries in this context (for testing/debugging).
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.LogContext
Returns the number of entries in this context.
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.
getFirstEntry() - Method in class org.gaardeon.largus.MemoryLogSink
Returns the first entry.
getFullId() - Method in class org.gaardeon.largus.LogContext
Returns the full context ID including parent paths.
getId() - Method in class org.gaardeon.largus.LogContext
Returns the context ID.
getLastEntry() - Method in class org.gaardeon.largus.MemoryLogSink
Returns the last entry.
getLevel() - Method in class org.gaardeon.largus.LogEntry
 
getLoggerName() - Method in class org.gaardeon.largus.LogEntry
 
getMessage() - Method in class org.gaardeon.largus.LogEntry
 
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() - Static method in class org.gaardeon.largus.LogScopes
Gets the global minimum log level.
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
 
getName() - Method in class org.gaardeon.largus.Logger
Returns the logger name.
getParent() - Method in class org.gaardeon.largus.LogContext
Returns the parent context, or null if this is a root context.
getSeverity() - Method in enum class org.gaardeon.largus.LogLevel
Returns the numeric severity value (lower = more severe).
getSinks() - Method in class org.gaardeon.largus.CompositeLogSink
Returns all child sinks.
getSinks() - Static method in class org.gaardeon.largus.LogScopes
Returns an unmodifiable view of the current sinks.
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
 

H

hasContext() - Static method in class org.gaardeon.largus.LogScopes
Checks if a logging context is currently active.
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.FxLogContext.FlowAction
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.largus.SwingLogContext.SwingFlowAction
Returns a hash code value for this object.

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.
initialize(Consumer, Supplier) - Static method in class org.gaardeon.largus.FxLogContext
Initializes FxLogContext with JavaFX's Platform methods.
isCancelled() - Method in class org.gaardeon.largus.LoggingTaskScope
Returns true if this scope has been cancelled.
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).
isContextOnlyOnError() - Static method in class org.gaardeon.largus.LogScopes
Gets whether CONTEXT-level entries are only included on error.
isDebugEnabled() - Method in class org.gaardeon.largus.Logger
Checks if DEBUG level 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
Checks if ERROR level is enabled.
isInfoEnabled() - Method in class org.gaardeon.largus.Logger
Checks if INFO level is enabled.
isInitialized() - Static method in class org.gaardeon.largus.FxLogContext
Checks if FxLogContext has been initialized.
isOnEDT() - Static method in class org.gaardeon.largus.SwingLogContext
Checks if the current thread is the Event Dispatch Thread.
isOnPlatformThread() - Static method in class org.gaardeon.largus.FxLogContext
Checks if the current thread is the Platform thread.
isSwingAvailable() - Static method in class org.gaardeon.largus.SwingLogContext
Checks if Swing is available on the classpath.
isTraceEnabled() - Method in class org.gaardeon.largus.Logger
Checks if TRACE level is enabled.
isWarnEnabled() - Method in class org.gaardeon.largus.Logger
Checks if WARN level is enabled.

J

join() - Method in class org.gaardeon.largus.LoggingTaskScope
Waits for all subtasks to complete and returns the result.

K

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

L

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.
LogContextTransfer - Class in org.gaardeon.largus
Utilities for transferring logging context across thread boundaries.
LogContextTransfer.CapturedContext - Class in org.gaardeon.largus
Represents a captured logging context that can be restored on another thread.
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
 
LoggingExamples - Class in org.gaardeon.largus
Comprehensive examples demonstrating the structured logging framework.
LoggingExamples() - Constructor for class org.gaardeon.largus.LoggingExamples
 
LoggingTaskScope<T,R> - Class in org.gaardeon.largus
A wrapper around StructuredTaskScopePREVIEW that automatically creates child LogContexts for each forked subtask.
LogLevel - Enum Class in org.gaardeon.largus
Log severity levels for structured logging.
LogScopes - Class in org.gaardeon.largus
Central hub for structured logging context management using ScopedValue.
LogScopes.LogContextCarrier - Class in org.gaardeon.largus
A carrier that allows running code within a specific logging context.
LogSink - Interface in org.gaardeon.largus
Interface for log output destinations.

M

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.
meetsThreshold(LogLevel) - Method in enum class org.gaardeon.largus.LogLevel
Checks if this level should be logged given a minimum level threshold.
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.

N

NEVER - Enum constant in enum class org.gaardeon.largus.LogContext.FlushBehavior
Never flush entries (discard them).
Note on Initialization: - Section in class org.gaardeon.largus.SwingLogContext
 

O

of(LogSink...) - Static method in class org.gaardeon.largus.CompositeLogSink
Creates a CompositeLogSink with the given sinks.
ON_ERROR - Enum constant in enum class org.gaardeon.largus.LogContext.FlushBehavior
Only flush entries if an error was logged.
open() - Static method in class org.gaardeon.largus.LoggingTaskScope
Opens a new LoggingTaskScope with the default joiner (await all successful or throw).
open(StructuredTaskScope.Joiner) - Static method in class org.gaardeon.largus.LoggingTaskScope
Opens a new LoggingTaskScope with the given Joiner.
open(StructuredTaskScope.Joiner, Function) - Static method in class org.gaardeon.largus.LoggingTaskScope
Opens a new LoggingTaskScope with the given Joiner and configuration.
openWithPrefix(String) - Static method in class org.gaardeon.largus.LoggingTaskScope
Opens a new LoggingTaskScope with a custom default prefix for auto-generated child context IDs.
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

path(String) - Method in class org.gaardeon.largus.FileLogSink.Builder
 
path(Path) - Method in class org.gaardeon.largus.FileLogSink.Builder
 
Problem: - Section in class org.gaardeon.largus.LogContextTransfer
 

R

react() - Method in class org.gaardeon.largus.FxLogContext.FxReactor
Triggers a reaction: compute and update.
react() - Method in class org.gaardeon.largus.SwingLogContext.SwingReactor
Triggers a reaction: compute and update.
reactAsync() - Method in class org.gaardeon.largus.FxLogContext.FxReactor
Triggers a reaction asynchronously.
reactAsync() - Method in class org.gaardeon.largus.SwingLogContext.SwingReactor
Triggers a reaction asynchronously.
reactor(String, Supplier, Consumer) - Static method in class org.gaardeon.largus.FxLogContext
Creates a new FxReactor.
reactor(String, Supplier, Consumer) - Static method in class org.gaardeon.largus.SwingLogContext
Creates a new SwingReactor.
removeSink(LogSink) - Method in class org.gaardeon.largus.CompositeLogSink
Removes a sink from this composite.
removeSink(LogSink) - Static method in class org.gaardeon.largus.LogScopes
Removes a global log sink.
rotateDaily(boolean) - Method in class org.gaardeon.largus.FileLogSink.Builder
Enables daily rotation (new file each day).
run(Runnable) - Method in class org.gaardeon.largus.LogContextTransfer.CapturedContext
Runs the given operation within the captured context.
run(Runnable) - Method in class org.gaardeon.largus.LogScopes.LogContextCarrier
Runs the given operation within this context.
runAsync(Runnable) - Static method in class org.gaardeon.largus.LogContextTransfer
Runs an async operation with context preservation.
runAsync(Runnable, Executor) - Static method in class org.gaardeon.largus.LogContextTransfer
Runs an async operation with context preservation, using a specific executor.
runOnEDT(Runnable) - Static method in class org.gaardeon.largus.SwingLogContext
Runs an operation on the Event Dispatch Thread with context preservation.
runOnEDTAndWait(Runnable) - Static method in class org.gaardeon.largus.SwingLogContext
Runs an operation on the EDT and waits for completion.
runOnPlatform(Runnable) - Static method in class org.gaardeon.largus.FxLogContext
Runs an operation on the Platform thread with context preservation.
runOnPlatformAndWait(Runnable) - Static method in class org.gaardeon.largus.FxLogContext
Runs an operation on the Platform thread and waits for completion.
runWithContext(Object, Runnable) - Static method in class org.gaardeon.largus.LogScopes
Executes the given operation within a new logging context.
runWithContext(Runnable) - Static method in class org.gaardeon.largus.LogScopes
Executes the given operation within a new logging context with an auto-generated ID.

S

setAttribute(String, Object) - Method in class org.gaardeon.largus.LogContext
Adds an attribute that will be included in all log entries.
setContextOnlyOnError(boolean) - Static method in class org.gaardeon.largus.LogScopes
Sets whether CONTEXT-level entries should only be included when an error occurs.
setFlushBehavior(LogContext.FlushBehavior) - Method in class org.gaardeon.largus.LogContext
Sets the flush behavior for this context.
setMinimumLevel(LogLevel) - Static method in class org.gaardeon.largus.LogScopes
Sets the global minimum log level.
setPropagateToParent(boolean) - Method in class org.gaardeon.largus.LogContext
Sets whether log entries should also be added to the parent context.
Solution: - Section in class org.gaardeon.largus.LogContextTransfer
 
source(StackTraceElement) - Method in class org.gaardeon.largus.LogEntry.Builder
 
supplyAsync(Supplier) - Static method in class org.gaardeon.largus.LogContextTransfer
Creates a CompletableFuture that preserves logging context.
supplyAsync(Supplier, Executor) - Static method in class org.gaardeon.largus.LogContextTransfer
Creates a CompletableFuture that preserves logging context, using a specific executor.
SwingFlowAction(Supplier, Consumer) - Constructor for record class org.gaardeon.largus.SwingLogContext.SwingFlowAction
Creates an instance of a SwingFlowAction record class.
SwingLogContext - Class in org.gaardeon.largus
Swing-specific utilities for structured logging.
SwingLogContext.SwingFlowAction<T> - Record Class in org.gaardeon.largus
Represents an operation that computes a value and then updates the UI.
SwingLogContext.SwingReactor<T> - Class in org.gaardeon.largus
A reactor that responds to changes by computing and updating UI.
SwingReactor(String, Supplier, Consumer) - Constructor for class org.gaardeon.largus.SwingLogContext.SwingReactor
 
Synchronous Platform Execution: - Section in class org.gaardeon.largus.FxLogContext
 

T

The Problem with JavaFX and ScopedValue: - Section in class org.gaardeon.largus.FxLogContext
 
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 record class org.gaardeon.largus.FxLogContext.FlowAction
Returns a string representation of this record class.
toString() - Method in class org.gaardeon.largus.LogContext
 
toString() - Method in class org.gaardeon.largus.LogEntry
 
toString() - Method in record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.largus.SwingLogContext.SwingFlowAction
Returns a string representation of this record class.
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

update() - Method in record class org.gaardeon.largus.FxLogContext.FlowAction
Returns the value of the update record component.
update() - Method in record class org.gaardeon.largus.SwingLogContext.SwingFlowAction
Returns the value of the update record component.
Usage: - Section in class org.gaardeon.largus.FileLogSink
 
Usage: - Section in class org.gaardeon.largus.LoggingTaskScope
 
Usage in Tests: - Section in class org.gaardeon.largus.MemoryLogSink
 
Usage with Flow Pattern (Supplier + Consumer): - Section in class org.gaardeon.largus.LogContextTransfer
 
Usage with JavaFX: - Section in class org.gaardeon.largus.LogContextTransfer
 
Usage with StructuredTaskScope: - Section in org.gaardeon.largus.LogScopes.asChild(Object, Callable)
 

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.
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.

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 - Enum constant in enum class org.gaardeon.largus.LogLevel
Warning conditions that may require attention but don't necessarily indicate a failure.
wasError() - Method in record class org.gaardeon.largus.MemoryLogSink.ContextBatch
Returns the value of the wasError record component.
withAttribute(String, Object) - Method in class org.gaardeon.largus.LogEntry
Returns a new entry with the specified attribute added.
With Custom Joiner: - Section in class org.gaardeon.largus.LoggingTaskScope
 
With Structured Concurrency: - Section in class org.gaardeon.largus.LogScopes
 
wrap(Runnable) - Static method in class org.gaardeon.largus.LogContextTransfer
Wraps a Runnable to execute within the current logging context.
wrap(Callable) - Static method in class org.gaardeon.largus.LogContextTransfer
Wraps a Callable to execute within the current logging context.
wrap(Consumer) - Static method in class org.gaardeon.largus.LogContextTransfer
Wraps a Consumer to execute within the current logging context.
wrap(Supplier) - Static method in class org.gaardeon.largus.LogContextTransfer
Wraps a Supplier to execute within the current logging context.
write(List, String, boolean) - Method in class org.gaardeon.largus.CompositeLogSink
 
write(List, String, boolean) - Method in class org.gaardeon.largus.ConsoleLogSink
 
write(List, String, boolean) - Method in class org.gaardeon.largus.FileLogSink
 
write(List, String, boolean) - Method in interface org.gaardeon.largus.LogSink
Writes a batch of log entries.
write(List, String, boolean) - 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
 
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages