Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addLogBufferListener(LogBuffer.LogBufferListener) - Method in class com.dua3.utility.logging.LogBuffer
-
Add LogBufferListener.
- appendTo(Appendable) - Method in class com.dua3.utility.logging.LogBuffer
-
Appends all LogEntries in this LogBuffer to the specified Appendable.
- arguments() - Method in record class com.dua3.utility.logging.LogEntry
-
Returns the value of the
argumentsrecord component.
C
- clear() - Method in class com.dua3.utility.logging.LogBuffer
-
Clear the LogBuffer.
- clear() - Method in interface com.dua3.utility.logging.LogBuffer.LogBufferListener
-
Called after the buffer has been cleared.
- com.dua3.utility.logging - module com.dua3.utility.logging
- com.dua3.utility.logging - package com.dua3.utility.logging
-
Classes and utilities related to logging.
- ConsoleHandler - Class in com.dua3.utility.logging
-
The ConsoleHandler class is an implementation of the LogEntryHandler interface.
- ConsoleHandler(PrintStream, boolean) - Constructor for class com.dua3.utility.logging.ConsoleHandler
-
Constructs a ConsoleHandler with the specified PrintStream and colored flag.
D
- DEFAULT_CAPACITY - Static variable in class com.dua3.utility.logging.LogBuffer
-
The default capacity.
E
- entries() - Method in class com.dua3.utility.logging.LogBuffer
-
Get the List of LogEntries in the LogBuffer.
- entries(Collection<LogEntry>, int) - Method in interface com.dua3.utility.logging.LogBuffer.LogBufferListener
-
Called when multiple entries have been added in a batch.
- entry(LogEntry, boolean) - Method in interface com.dua3.utility.logging.LogBuffer.LogBufferListener
-
Called when an entry was added to the buffer.
- equals(Object) - Method in record class com.dua3.utility.logging.LogEntry
-
Indicates whether some other object is "equal to" this one.
F
- formatMessage() - Method in record class com.dua3.utility.logging.LogEntry
-
Formats the message using MessageFormatter.basicArrayFormat.
- formatThrowable() - Method in record class com.dua3.utility.logging.LogEntry
-
Formats the throwable object by printing its stack trace.
G
- get(int) - Method in class com.dua3.utility.logging.LogBuffer
-
Get the LogEntry at the specified index in the LogBuffer.
- getDefaultLevel() - Static method in class com.dua3.utility.logging.Logger
- getFullyQualifiedCallerName() - Method in class com.dua3.utility.logging.Logger
- getLevel() - Method in class com.dua3.utility.logging.Logger
- getLogBuffer() - Method in class com.dua3.utility.logging.LoggerFactory
- getLogEntries() - Method in class com.dua3.utility.logging.LogBuffer
-
Returns a List containing all the LogEntries in this LogBuffer.
- getLogger(String) - Method in class com.dua3.utility.logging.LoggerFactory
- getLoggerFactory() - Method in class com.dua3.utility.logging.LoggingServiceProvider
- getMarkerFactory() - Method in class com.dua3.utility.logging.LoggingServiceProvider
- getMDCAdapter() - Method in class com.dua3.utility.logging.LoggingServiceProvider
- getRequestedApiVersion() - Method in class com.dua3.utility.logging.LoggingServiceProvider
H
- handleEntry(LogEntry) - Method in class com.dua3.utility.logging.ConsoleHandler
- handleEntry(LogEntry) - Method in class com.dua3.utility.logging.LogBuffer
- handleEntry(LogEntry) - Method in interface com.dua3.utility.logging.LogEntryHandler
-
Handles a log entry.
- handleNormalizedLoggingCall(Level, Marker, String, Object[], Throwable) - Method in class com.dua3.utility.logging.Logger
- hashCode() - Method in record class com.dua3.utility.logging.LogEntry
-
Returns a hash code value for this object.
I
- initialize() - Method in class com.dua3.utility.logging.LoggingServiceProvider
- isDebugEnabled() - Method in class com.dua3.utility.logging.Logger
- isDebugEnabled(Marker) - Method in class com.dua3.utility.logging.Logger
- isErrorEnabled() - Method in class com.dua3.utility.logging.Logger
- isErrorEnabled(Marker) - Method in class com.dua3.utility.logging.Logger
- isInfoEnabled() - Method in class com.dua3.utility.logging.Logger
- isInfoEnabled(Marker) - Method in class com.dua3.utility.logging.Logger
- isTraceEnabled() - Method in class com.dua3.utility.logging.Logger
- isTraceEnabled(Marker) - Method in class com.dua3.utility.logging.Logger
- isWarnEnabled() - Method in class com.dua3.utility.logging.Logger
- isWarnEnabled(Marker) - Method in class com.dua3.utility.logging.Logger
L
- level() - Method in record class com.dua3.utility.logging.LogEntry
-
Returns the value of the
levelrecord component. - LEVEL - Static variable in class com.dua3.utility.logging.LoggerFactory
- LogBuffer - Class in com.dua3.utility.logging
-
A log buffer class intended to provide a buffer for log messages to display in GUI applications.
- LogBuffer() - Constructor for class com.dua3.utility.logging.LogBuffer
-
Construct a new LogBuffer instance with default capacity.
- LogBuffer(int) - Constructor for class com.dua3.utility.logging.LogBuffer
-
Construct a new LogBuffer instance.
- LogBuffer.LogBufferListener - Interface in com.dua3.utility.logging
-
Interface for Listeners on changes of a
LogBufferinstance's contents. - LogEntry - Record Class in com.dua3.utility.logging
-
Represents a log entry with information about the log message, time, level, logger, and optional marker and throwable.
- LogEntry(Logger, Instant, Level, Marker, String, Object[], Throwable) - Constructor for record class com.dua3.utility.logging.LogEntry
-
Creates an instance of a
LogEntryrecord class. - LogEntryHandler - Interface in com.dua3.utility.logging
-
Represents a functional interface for handling log entries.
- logger() - Method in record class com.dua3.utility.logging.LogEntry
-
Returns the value of the
loggerrecord component. - Logger - Class in com.dua3.utility.logging
- Logger(String, List<? extends LogEntryHandler>) - Constructor for class com.dua3.utility.logging.Logger
- LOGGER_BUFFER_SIZE - Static variable in class com.dua3.utility.logging.LoggerFactory
- LOGGER_CONSOLE_COLORED - Static variable in class com.dua3.utility.logging.LoggerFactory
- LOGGER_CONSOLE_STREAM - Static variable in class com.dua3.utility.logging.LoggerFactory
- LoggerFactory - Class in com.dua3.utility.logging
- LoggerFactory() - Constructor for class com.dua3.utility.logging.LoggerFactory
- LoggingServiceProvider - Class in com.dua3.utility.logging
- LoggingServiceProvider() - Constructor for class com.dua3.utility.logging.LoggingServiceProvider
M
- marker() - Method in record class com.dua3.utility.logging.LogEntry
-
Returns the value of the
markerrecord component. - msg() - Method in record class com.dua3.utility.logging.LogEntry
-
Returns the value of the
msgrecord component.
R
- readExternal(ObjectInput) - Method in class com.dua3.utility.logging.LogBuffer
- removeLogBufferListener(LogBuffer.LogBufferListener) - Method in class com.dua3.utility.logging.LogBuffer
-
Remove LogBufferListener.
S
- setDefaultLevel(Level) - Static method in class com.dua3.utility.logging.Logger
- setLevel(Level) - Method in class com.dua3.utility.logging.Logger
- size() - Method in class com.dua3.utility.logging.LogBuffer
-
Returns the size of the LogBuffer.
- subList(int, int) - Method in class com.dua3.utility.logging.LogBuffer
-
Returns a view of the portion of this LogBuffer between the specified
fromIndex, inclusive, andtoIndex, exclusive.
T
- throwable() - Method in record class com.dua3.utility.logging.LogEntry
-
Returns the value of the
throwablerecord component. - time() - Method in record class com.dua3.utility.logging.LogEntry
-
Returns the value of the
timerecord component. - toString() - Method in record class com.dua3.utility.logging.LogEntry
-
Returns a string representation of this record class.
W
- writeExternal(ObjectOutput) - Method in class com.dua3.utility.logging.LogBuffer
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form