Index

A C D E F G H I L M O R S T V W 
All Classes and Interfaces|All Packages

A

addAppender(Appender) - Method in class com.log4rich.core.Logger
Adds an appender to this logger.
append(LoggingEvent) - Method in interface com.log4rich.appenders.Appender
Append a logging event.
append(LoggingEvent) - Method in class com.log4rich.appenders.ConsoleAppender
Appends a log event to the console output stream.
append(LoggingEvent) - Method in class com.log4rich.appenders.RollingFileAppender
Appends a log event to the file, handling rollover if necessary.
Appender - Interface in com.log4rich.appenders
Base interface for all log appenders.
applyCurrentConfiguration() - Static method in class com.log4rich.config.ConfigurationManager
Manually applies the current configuration.

C

clearAppenders() - Method in class com.log4rich.core.Logger
Removes all appenders from this logger.
clearCache() - Static method in class com.log4rich.config.ConfigLoader
Clears the cached configuration to force reload.
close() - Method in interface com.log4rich.appenders.Appender
Close this appender and release any resources.
close() - Method in class com.log4rich.appenders.ConsoleAppender
Closes this appender and releases any resources.
close() - Method in class com.log4rich.appenders.RollingFileAppender
Closes this appender and releases all resources.
close() - Method in class com.log4rich.util.ThreadSafeWriter
Closes the writer and releases resources.
com.log4rich - package com.log4rich
 
com.log4rich.appenders - package com.log4rich.appenders
 
com.log4rich.config - package com.log4rich.config
 
com.log4rich.core - package com.log4rich.core
 
com.log4rich.layouts - package com.log4rich.layouts
 
com.log4rich.util - package com.log4rich.util
 
compressFile(File) - Method in class com.log4rich.util.CompressionManager
Compresses a file using the configured compression program.
CompressionManager - Class in com.log4rich.util
Manages external compression of log files.
CompressionManager() - Constructor for class com.log4rich.util.CompressionManager
Creates a new CompressionManager with default settings.
CompressionManager(String, String, long) - Constructor for class com.log4rich.util.CompressionManager
Creates a new CompressionManager with the specified settings.
configExists() - Static method in class com.log4rich.config.ConfigLoader
Checks if a configuration file exists in any of the search locations.
ConfigLoader - Class in com.log4rich.config
Loads configuration from various sources in the search order specified.
Configuration - Class in com.log4rich.config
Configuration management for log4Rich.
Configuration() - Constructor for class com.log4rich.config.Configuration
Creates a new Configuration with default settings.
Configuration(Properties) - Constructor for class com.log4rich.config.Configuration
Creates a new Configuration with the specified properties.
ConfigurationManager - Class in com.log4rich.config
Manages runtime configuration changes for the log4Rich framework.
ConfigurationManager.ConfigurationStats - Class in com.log4rich.config
Configuration statistics class.
ConfigurationStats(int, int, int) - Constructor for class com.log4rich.config.ConfigurationManager.ConfigurationStats
Creates a new ConfigurationStats instance.
ConsoleAppender - Class in com.log4rich.appenders
Appender that writes log events to console (stdout or stderr).
ConsoleAppender() - Constructor for class com.log4rich.appenders.ConsoleAppender
Creates a new console appender that writes to STDOUT.
ConsoleAppender(ConsoleAppender.Target) - Constructor for class com.log4rich.appenders.ConsoleAppender
Creates a new console appender that writes to the specified target.
ConsoleAppender.Target - Enum Class in com.log4rich.appenders
Target destination for console output.
createConsoleAppender(String, String, String) - Static method in class com.log4rich.config.ConfigurationManager
Creates a new console appender with the specified settings.
createConsoleAppender(String, String, String) - Static method in class com.log4rich.Log4Rich
Creates a new console appender.
createRollingFileAppender(String) - Static method in class com.log4rich.Log4Rich
Creates a simple rolling file appender with default settings.
createRollingFileAppender(String, String, String, int, String) - Static method in class com.log4rich.config.ConfigurationManager
Creates a new rolling file appender with the specified settings.
createRollingFileAppender(String, String, String, int, String) - Static method in class com.log4rich.Log4Rich
Creates a new rolling file appender.

D

debug(String) - Method in class com.log4rich.core.Logger
Logs a message at DEBUG level.
debug(String, Throwable) - Method in class com.log4rich.core.Logger
Logs a message at DEBUG level with an associated throwable.
DEBUG - Enum constant in enum class com.log4rich.core.LogLevel
Debug level for detailed diagnostic information

E

error(String) - Method in class com.log4rich.core.Logger
Logs a message at ERROR level.
error(String, Throwable) - Method in class com.log4rich.core.Logger
Logs a message at ERROR level with an associated throwable.
ERROR - Enum constant in enum class com.log4rich.core.LogLevel
Error level for error events that still allow application to continue
exists(String) - Static method in class com.log4rich.core.LogManager
Check if a logger exists with the given name.

F

fatal(String) - Method in class com.log4rich.core.Logger
Logs a message at FATAL level.
fatal(String, Throwable) - Method in class com.log4rich.core.Logger
Logs a message at FATAL level with an associated throwable.
FATAL - Enum constant in enum class com.log4rich.core.LogLevel
Fatal level for severe error events that will lead to application termination
flush() - Method in class com.log4rich.util.ThreadSafeWriter
Flushes any buffered data to the file.
format(LoggingEvent) - Method in interface com.log4rich.layouts.Layout
Format a logging event into a string.
format(LoggingEvent) - Method in class com.log4rich.layouts.StandardLayout
 
fromString(String) - Static method in enum class com.log4rich.core.LogLevel
Parse a string to get the corresponding LogLevel.

G

getAppenderCount() - Method in class com.log4rich.config.ConfigurationManager.ConfigurationStats
Gets the total number of managed appenders.
getAppenders() - Method in class com.log4rich.core.Logger
Gets a copy of all appenders associated with this logger.
getArguments() - Method in class com.log4rich.util.CompressionManager
Gets the compression program arguments.
getBufferSize() - Method in class com.log4rich.config.Configuration
Gets the buffer size for file I/O operations.
getCaller(int) - Static method in class com.log4rich.util.LocationInfo
Create LocationInfo by analyzing the current stack trace.
getClassFormat() - Method in class com.log4rich.config.Configuration
Gets the class name format for display (SIMPLE, FULL, etc.).
getClassName() - Method in class com.log4rich.util.LocationInfo
Gets the simple class name (without package).
getCompressionArgs() - Method in class com.log4rich.config.Configuration
Gets the arguments to pass to the compression program.
getCompressionManager() - Method in class com.log4rich.appenders.RollingFileAppender
Gets the compression manager used for backup files.
getCompressionProgram() - Method in class com.log4rich.config.Configuration
Gets the compression program to use for rolled files.
getConfigPath() - Static method in class com.log4rich.Log4Rich
Gets the current configuration file path.
getConfiguredLoggerCount() - Method in class com.log4rich.config.ConfigurationManager.ConfigurationStats
Gets the number of loggers with specific levels configured.
getConsoleLevel() - Method in class com.log4rich.config.Configuration
Gets the console log level, falling back to root level if not set.
getConsolePattern() - Method in class com.log4rich.config.Configuration
Gets the console log pattern for formatting.
getConsoleTarget() - Method in class com.log4rich.config.Configuration
Gets the console target stream (STDOUT or STDERR).
getCurrentConfiguration() - Static method in class com.log4rich.config.ConfigurationManager
Gets the current configuration.
getCurrentConfiguration() - Static method in class com.log4rich.Log4Rich
Gets the current configuration.
getDatePattern() - Method in class com.log4rich.config.Configuration
Gets the date pattern used for backup file naming.
getFile() - Method in class com.log4rich.appenders.RollingFileAppender
Gets the current log file.
getFile() - Method in class com.log4rich.util.ThreadSafeWriter
Gets the file this writer is writing to.
getFileEncoding() - Method in class com.log4rich.config.Configuration
Gets the file encoding to use for log files.
getFileLevel() - Method in class com.log4rich.config.Configuration
Gets the file log level, falling back to root level if not set.
getFileName() - Method in class com.log4rich.util.LocationInfo
Gets the source file name.
getFilePath() - Method in class com.log4rich.config.Configuration
Gets the file path for logging.
getFilePattern() - Method in class com.log4rich.config.Configuration
Gets the file log pattern for formatting.
getFileSize() - Method in class com.log4rich.util.ThreadSafeWriter
Gets the current file size.
getFooter() - Method in interface com.log4rich.layouts.Layout
Get the footer for this layout, if any.
getFullClassName() - Method in class com.log4rich.util.LocationInfo
Gets the fully qualified class name.
getHeader() - Method in interface com.log4rich.layouts.Layout
Get the header for this layout, if any.
getLayout() - Method in interface com.log4rich.appenders.Appender
Get the layout for this appender.
getLayout() - Method in class com.log4rich.appenders.ConsoleAppender
Gets the current layout used for formatting log events.
getLayout() - Method in class com.log4rich.appenders.RollingFileAppender
Gets the current layout used for formatting log events.
getLevel() - Method in interface com.log4rich.appenders.Appender
Get the minimum log level for this appender.
getLevel() - Method in class com.log4rich.appenders.ConsoleAppender
Gets the minimum log level for this appender.
getLevel() - Method in class com.log4rich.appenders.RollingFileAppender
Gets the minimum log level for this appender.
getLevel() - Method in class com.log4rich.core.Logger
Gets the current log level for this logger.
getLevel() - Method in class com.log4rich.util.LoggingEvent
Gets the log level of this event.
getLineNumber() - Method in class com.log4rich.util.LocationInfo
Gets the line number where the log event occurred.
getLocationInfo() - Method in class com.log4rich.util.LoggingEvent
Gets the location information where this event occurred.
getLockTimeout() - Method in class com.log4rich.config.Configuration
Gets the lock timeout for thread synchronization.
getLogger(Class<?>) - Static method in class com.log4rich.core.LogManager
Get a logger for the specified class.
getLogger(Class<?>) - Static method in class com.log4rich.Log4Rich
Gets a logger for the specified class.
getLogger(String) - Static method in class com.log4rich.core.LogManager
Get a logger for the specified name.
getLogger(String) - Static method in class com.log4rich.Log4Rich
Gets a logger for the specified name.
getLoggerCount() - Method in class com.log4rich.config.ConfigurationManager.ConfigurationStats
Gets the total number of loggers.
getLoggerLevel(String) - Method in class com.log4rich.config.Configuration
Gets the specific level for a logger, or null if not set.
getLoggerLevels() - Method in class com.log4rich.config.Configuration
Gets a copy of all logger-specific levels.
getLoggerName() - Method in class com.log4rich.util.LoggingEvent
Gets the name of the logger that created this event.
getLoggerNames() - Static method in class com.log4rich.core.LogManager
Get all existing logger names.
getManagedAppender(String) - Static method in class com.log4rich.config.ConfigurationManager
Gets a managed appender by name.
getManagedAppender(String) - Static method in class com.log4rich.Log4Rich
Gets a managed appender by name.
getMaxBackups() - Method in class com.log4rich.appenders.RollingFileAppender
Gets the maximum number of backup files to keep.
getMaxBackups() - Method in class com.log4rich.config.Configuration
Gets the maximum number of backup files to keep.
getMaxFileSize() - Method in class com.log4rich.appenders.RollingFileAppender
Gets the maximum file size before rollover.
getMaxLoggerNameLength() - Method in class com.log4rich.config.Configuration
Gets the maximum length for logger names when truncation is enabled.
getMaxSize() - Method in class com.log4rich.config.Configuration
Gets the maximum file size before rolling over.
getMessage() - Method in class com.log4rich.util.LoggingEvent
Gets the log message.
getMethodName() - Method in class com.log4rich.util.LocationInfo
Gets the method name where the log event occurred.
getName() - Method in interface com.log4rich.appenders.Appender
Get the name of this appender.
getName() - Method in class com.log4rich.appenders.ConsoleAppender
Gets the name of this appender.
getName() - Method in class com.log4rich.appenders.RollingFileAppender
Gets the name of this appender.
getName() - Method in class com.log4rich.core.Logger
Gets the name of this logger.
getPattern() - Method in class com.log4rich.layouts.StandardLayout
Gets the pattern used by this layout.
getProgram() - Method in class com.log4rich.util.CompressionManager
Gets the compression program name.
getProperties() - Method in class com.log4rich.config.Configuration
Gets the underlying Properties object.
getProperty(String) - Method in class com.log4rich.config.Configuration
Gets a property value by key.
getProperty(String, String) - Method in class com.log4rich.config.Configuration
Gets a property value by key with a default value.
getRenderedMessage() - Method in class com.log4rich.util.LoggingEvent
Gets the rendered message, including throwable stack trace if present.
getRootLevel() - Method in class com.log4rich.config.Configuration
Gets the root logger level.
getRootLogger() - Static method in class com.log4rich.core.LogManager
Get the root logger.
getRootLogger() - Static method in class com.log4rich.Log4Rich
Gets the root logger.
getSearchPaths() - Static method in class com.log4rich.config.ConfigLoader
Gets the search paths for configuration files.
getStats() - Static method in class com.log4rich.config.ConfigurationManager
Gets statistics about the current configuration.
getStats() - Static method in class com.log4rich.Log4Rich
Gets configuration statistics.
getStream() - Method in enum class com.log4rich.appenders.ConsoleAppender.Target
Gets the print stream associated with this target.
getTarget() - Method in class com.log4rich.appenders.ConsoleAppender
Gets the current target output stream for this appender.
getThreadName() - Method in class com.log4rich.util.LoggingEvent
Gets the name of the thread that created this event.
getThrowable() - Method in class com.log4rich.util.LoggingEvent
Gets the throwable associated with this event.
getTimeoutMillis() - Method in class com.log4rich.util.CompressionManager
Gets the compression timeout in milliseconds.
getTimestamp() - Method in class com.log4rich.util.LoggingEvent
Gets the timestamp when this event was created.
getTruncatedClassName() - Method in class com.log4rich.util.LocationInfo
Get truncated class name (e.g., c.e.MyClass).
getValue() - Method in enum class com.log4rich.core.LogLevel
Gets the numeric value of this log level.

H

hasThrowable() - Method in class com.log4rich.util.LoggingEvent
Checks if this event has an associated throwable.

I

ignoresThrowable() - Method in interface com.log4rich.layouts.Layout
Check if this layout handles throwables.
ignoresThrowable() - Method in class com.log4rich.layouts.StandardLayout
 
info(String) - Method in class com.log4rich.core.Logger
Logs a message at INFO level.
info(String, Throwable) - Method in class com.log4rich.core.Logger
Logs a message at INFO level with an associated throwable.
INFO - Enum constant in enum class com.log4rich.core.LogLevel
General information about application progress
initialize() - Method in class com.log4rich.util.ThreadSafeWriter
Initializes the writer.
initialize(Configuration) - Static method in class com.log4rich.config.ConfigurationManager
Initializes the configuration manager with the current configuration.
isClosed() - Method in interface com.log4rich.appenders.Appender
Check if this appender is closed.
isClosed() - Method in class com.log4rich.appenders.ConsoleAppender
Checks if this appender is closed.
isClosed() - Method in class com.log4rich.appenders.RollingFileAppender
Checks if this appender is closed.
isClosed() - Method in class com.log4rich.util.ThreadSafeWriter
Checks if the writer is closed.
isCompression() - Method in class com.log4rich.appenders.RollingFileAppender
Checks if compression is enabled for backup files.
isCompressionEnabled() - Method in class com.log4rich.config.Configuration
Checks if compression is enabled for rolled files.
isConsoleEnabled() - Method in class com.log4rich.config.Configuration
Checks if console logging is enabled.
isDebugEnabled() - Method in class com.log4rich.core.Logger
Checks if DEBUG level is enabled for this logger.
isErrorEnabled() - Method in class com.log4rich.core.Logger
Checks if ERROR level is enabled for this logger.
isFatalEnabled() - Method in class com.log4rich.core.Logger
Checks if FATAL level is enabled for this logger.
isFileEnabled() - Method in class com.log4rich.config.Configuration
Checks if file logging is enabled.
isGreaterOrEqual(LogLevel) - Method in enum class com.log4rich.core.LogLevel
Check if this level is enabled for the given level.
isImmediateFlush() - Method in class com.log4rich.config.Configuration
Checks if immediate flush is enabled for file operations.
isInfoEnabled() - Method in class com.log4rich.core.Logger
Checks if INFO level is enabled for this logger.
isLevelEnabled(LogLevel) - Method in interface com.log4rich.appenders.Appender
Check if this appender will handle the given level.
isLevelEnabled(LogLevel) - Method in class com.log4rich.appenders.ConsoleAppender
Checks if the specified log level is enabled for this appender.
isLevelEnabled(LogLevel) - Method in class com.log4rich.appenders.RollingFileAppender
Checks if the specified log level is enabled for this appender.
isLevelEnabled(LogLevel) - Method in class com.log4rich.core.Logger
Checks if the specified level is enabled for this logger.
isLocationCapture() - Method in class com.log4rich.config.Configuration
Checks if location capture is enabled (class, method, line number).
isLocationCaptureEnabled() - Method in class com.log4rich.core.Logger
Checks if location capture is enabled for this logger.
isProgramAvailable() - Method in class com.log4rich.util.CompressionManager
Checks if the compression program is available.
isTraceEnabled() - Method in class com.log4rich.core.Logger
Checks if TRACE level is enabled for this logger.
isTruncateLoggerNames() - Method in class com.log4rich.config.Configuration
Checks if logger names should be truncated for display.
isWarnEnabled() - Method in class com.log4rich.core.Logger
Checks if WARN level is enabled for this logger.

L

Layout - Interface in com.log4rich.layouts
Base interface for all log message layouts.
loadConfiguration() - Static method in class com.log4rich.config.ConfigLoader
Loads configuration from the first available source.
loadConfiguration(String) - Static method in class com.log4rich.config.ConfigLoader
Loads configuration from a specific file.
LocationInfo - Class in com.log4rich.util
Captures location information about where a log event occurred.
LocationInfo(String, String, String, int) - Constructor for class com.log4rich.util.LocationInfo
Creates a new LocationInfo with the specified location details.
Log4Rich - Class in com.log4rich
Main entry point and facade for the log4Rich logging framework.
Logger - Class in com.log4rich.core
Main logger class that handles log events.
Logger(String) - Constructor for class com.log4rich.core.Logger
Creates a new logger with the specified name.
LoggingEvent - Class in com.log4rich.util
Represents a single logging event with all associated metadata.
LoggingEvent(LogLevel, String, String, LocationInfo) - Constructor for class com.log4rich.util.LoggingEvent
Creates a new LoggingEvent without an exception.
LoggingEvent(LogLevel, String, String, LocationInfo, Throwable) - Constructor for class com.log4rich.util.LoggingEvent
Creates a new LoggingEvent with all parameters.
LogLevel - Enum Class in com.log4rich.core
Enumeration of logging levels supported by log4Rich.
LogManager - Class in com.log4rich.core
Factory and manager for Logger instances.

M

main(String[]) - Static method in class com.log4rich.Log4Rich
Main method for testing and demonstration.

O

OFF - Enum constant in enum class com.log4rich.core.LogLevel
Turns off all logging

R

reloadConfiguration() - Static method in class com.log4rich.config.ConfigurationManager
Reloads configuration from the original source.
reloadConfiguration() - Static method in class com.log4rich.Log4Rich
Reloads configuration from the original source.
removeAppender(Appender) - Method in class com.log4rich.core.Logger
Removes an appender from this logger.
removeAppender(String) - Method in class com.log4rich.core.Logger
Removes an appender from this logger by name.
removeManagedAppender(String) - Static method in class com.log4rich.config.ConfigurationManager
Removes a managed appender.
removeManagedAppender(String) - Static method in class com.log4rich.Log4Rich
Removes a managed appender.
reset() - Static method in class com.log4rich.core.LogManager
Reset the logging system by removing all loggers.
RollingFileAppender - Class in com.log4rich.appenders
File appender that rolls over based on file size.
RollingFileAppender() - Constructor for class com.log4rich.appenders.RollingFileAppender
Creates a new RollingFileAppender with default settings.
RollingFileAppender(File) - Constructor for class com.log4rich.appenders.RollingFileAppender
Creates a new RollingFileAppender with the specified file.
RollingFileAppender(String) - Constructor for class com.log4rich.appenders.RollingFileAppender
Creates a new RollingFileAppender with the specified file path.

S

setAutoApplyConfiguration(boolean) - Static method in class com.log4rich.config.ConfigurationManager
Sets whether configuration changes should be automatically applied.
setBufferSize(int) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the buffer size for the file writer.
setCompression(boolean) - Method in class com.log4rich.appenders.RollingFileAppender
Sets whether backup files should be compressed.
setCompression(boolean, String, String) - Static method in class com.log4rich.config.ConfigurationManager
Sets compression settings for rolled log files.
setCompression(boolean, String, String) - Static method in class com.log4rich.Log4Rich
Sets compression settings for rolled log files.
setCompressionManager(CompressionManager) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the compression manager to use for compressing backup files.
setConfigPath(String) - Static method in class com.log4rich.Log4Rich
Sets the configuration file path and reloads the configuration.
setConsoleEnabled(boolean) - Static method in class com.log4rich.config.ConfigurationManager
Enables or disables console logging.
setConsoleEnabled(boolean) - Static method in class com.log4rich.Log4Rich
Enables or disables console logging.
setConsolePattern(String) - Static method in class com.log4rich.config.ConfigurationManager
Sets the console logging pattern.
setConsolePattern(String) - Static method in class com.log4rich.Log4Rich
Sets the console logging pattern.
setConsoleTarget(String) - Static method in class com.log4rich.config.ConfigurationManager
Sets the console target stream.
setConsoleTarget(String) - Static method in class com.log4rich.Log4Rich
Sets the console target stream.
setDatePattern(String) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the date pattern used for backup file naming.
setEncoding(Charset) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the character encoding for the log file.
setFile(File) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the file for this appender.
setFile(String) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the file path for this appender.
setFileEnabled(boolean) - Static method in class com.log4rich.config.ConfigurationManager
Enables or disables file logging.
setFileEnabled(boolean) - Static method in class com.log4rich.Log4Rich
Enables or disables file logging.
setFilePath(String) - Static method in class com.log4rich.config.ConfigurationManager
Sets the file path for logging.
setFilePath(String) - Static method in class com.log4rich.Log4Rich
Sets the file path for logging.
setFilePattern(String) - Static method in class com.log4rich.config.ConfigurationManager
Sets the file logging pattern.
setFilePattern(String) - Static method in class com.log4rich.Log4Rich
Sets the file logging pattern.
setImmediateFlush(boolean) - Method in class com.log4rich.appenders.RollingFileAppender
Sets whether to flush the output stream immediately after each write.
setLayout(Layout) - Method in interface com.log4rich.appenders.Appender
Set the layout for this appender.
setLayout(Layout) - Method in class com.log4rich.appenders.ConsoleAppender
Sets the layout for formatting log events.
setLayout(Layout) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the layout for formatting log events.
setLevel(LogLevel) - Method in interface com.log4rich.appenders.Appender
Set the minimum log level for this appender.
setLevel(LogLevel) - Method in class com.log4rich.appenders.ConsoleAppender
Sets the minimum log level for this appender.
setLevel(LogLevel) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the minimum log level for this appender.
setLevel(LogLevel) - Method in class com.log4rich.core.Logger
Sets the log level for this logger.
setLocationCapture(boolean) - Static method in class com.log4rich.config.ConfigurationManager
Sets the location capture setting globally.
setLocationCapture(boolean) - Method in class com.log4rich.core.Logger
Sets whether this logger should capture location information.
setLocationCapture(boolean) - Static method in class com.log4rich.Log4Rich
Sets the location capture setting globally.
setLoggerLevel(String, LogLevel) - Method in class com.log4rich.config.Configuration
Sets the specific level for a logger.
setLoggerLevel(String, LogLevel) - Static method in class com.log4rich.config.ConfigurationManager
Sets a specific logger's level.
setLoggerLevel(String, LogLevel) - Static method in class com.log4rich.Log4Rich
Sets a specific logger's level.
setMaxBackups(int) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the maximum number of backup files to keep.
setMaxBackups(int) - Static method in class com.log4rich.config.ConfigurationManager
Sets the maximum number of backup files.
setMaxBackups(int) - Static method in class com.log4rich.Log4Rich
Sets the maximum number of backup files.
setMaxFileSize(long) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the maximum file size in bytes before rollover occurs.
setMaxFileSize(String) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the maximum file size using a string format (e.g., "10M", "100K", "1G").
setMaxFileSize(String) - Static method in class com.log4rich.config.ConfigurationManager
Sets the maximum file size for rolling.
setMaxFileSize(String) - Static method in class com.log4rich.Log4Rich
Sets the maximum file size for rolling.
setName(String) - Method in interface com.log4rich.appenders.Appender
Set the name of this appender.
setName(String) - Method in class com.log4rich.appenders.ConsoleAppender
Sets the name of this appender.
setName(String) - Method in class com.log4rich.appenders.RollingFileAppender
Sets the name of this appender.
setRootLevel(LogLevel) - Static method in class com.log4rich.config.ConfigurationManager
Sets the root logger level.
setRootLevel(LogLevel) - Static method in class com.log4rich.Log4Rich
Sets the root logger level.
setTarget(ConsoleAppender.Target) - Method in class com.log4rich.appenders.ConsoleAppender
Sets the target output stream for this appender.
shutdown() - Static method in class com.log4rich.config.ConfigurationManager
Shuts down the configuration manager and cleans up all managed appenders.
shutdown() - Method in class com.log4rich.core.Logger
Closes all appenders associated with this logger.
shutdown() - Static method in class com.log4rich.core.LogManager
Shutdown all loggers and their appenders.
shutdown() - Static method in class com.log4rich.Log4Rich
Shuts down the logging framework.
StandardLayout - Class in com.log4rich.layouts
Standard layout implementation with pattern support.
StandardLayout() - Constructor for class com.log4rich.layouts.StandardLayout
Creates a new StandardLayout with the default pattern.
StandardLayout(String) - Constructor for class com.log4rich.layouts.StandardLayout
Creates a new StandardLayout with the specified pattern.
STDERR - Enum constant in enum class com.log4rich.appenders.ConsoleAppender.Target
Standard error stream
STDOUT - Enum constant in enum class com.log4rich.appenders.ConsoleAppender.Target
Standard output stream

T

ThreadSafeWriter - Class in com.log4rich.util
Thread-safe file writer with buffering support.
ThreadSafeWriter(File) - Constructor for class com.log4rich.util.ThreadSafeWriter
Creates a new ThreadSafeWriter with default settings.
ThreadSafeWriter(File, Charset, boolean, int) - Constructor for class com.log4rich.util.ThreadSafeWriter
Creates a new ThreadSafeWriter with the specified settings.
toString() - Method in class com.log4rich.config.ConfigurationManager.ConfigurationStats
Returns a string representation of the configuration statistics.
toString() - Method in class com.log4rich.util.LocationInfo
Returns a string representation of the location information.
toString() - Method in class com.log4rich.util.LoggingEvent
Returns a string representation of this logging event.
trace(String) - Method in class com.log4rich.core.Logger
Logs a message at TRACE level.
trace(String, Throwable) - Method in class com.log4rich.core.Logger
Logs a message at TRACE level with an associated throwable.
TRACE - Enum constant in enum class com.log4rich.core.LogLevel
Most verbose logging level, shows all messages

V

valueOf(String) - Static method in enum class com.log4rich.appenders.ConsoleAppender.Target
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.log4rich.core.LogLevel
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.log4rich.appenders.ConsoleAppender.Target
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.log4rich.core.LogLevel
Returns an array containing the constants of this enum class, in the order they are declared.

W

warn(String) - Method in class com.log4rich.core.Logger
Logs a message at WARN level.
warn(String, Throwable) - Method in class com.log4rich.core.Logger
Logs a message at WARN level with an associated throwable.
WARN - Enum constant in enum class com.log4rich.core.LogLevel
Warning level for potentially harmful situations
write(String) - Method in class com.log4rich.util.ThreadSafeWriter
Writes a string to the file.
A C D E F G H I L M O R S T V W 
All Classes and Interfaces|All Packages