Simple Log 2.0.1
[grlea]
C D E F G H I L O R S T V W

C

CommonsLoggingAdapter - class org.grlea.log.adapters.commons.CommonsLoggingAdapter.
An adapter for using Simple Log within the Jakarta Commons Logging package.
CommonsLoggingAdapter(String) - Constructor for class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
close() - Method in class org.grlea.log.rollover.RolloverManager
Closes the file resources associated with this RolloverManager and releases any other resources used by it.
configure(Properties) - Method in class org.grlea.log.rollover.RolloverManager
Configures this RolloverManager using the given properties.
configure(Map) - Method in interface org.grlea.log.rollover.RolloverStrategy
Reads from the given map any properties that affect the behaviour of this strategy.
createRolloverManager(Properties, RolloverManager.ErrorReporter) - Static method in class org.grlea.log.rollover.RolloverManager
 

D

DebugLevel - class org.grlea.log.DebugLevel.
A Java enum defining all possible debug levels.
db(DebugLevel, String) - Method in class org.grlea.log.SimpleLogger
Logs a simple debug message.
dbe(DebugLevel, Throwable) - Method in class org.grlea.log.SimpleLogger
Logs a message containing an exception (or throwable).
dbo(DebugLevel, String, Object) - Method in class org.grlea.log.SimpleLogger
Logs a message containing an object's name and value.
dbo(DebugLevel, String, Object[]) - Method in class org.grlea.log.SimpleLogger
Logs a message containing an object array's name and value.
dbo(DebugLevel, String, short) - Method in class org.grlea.log.SimpleLogger
Logs a message containing a short's name and value.
dbo(DebugLevel, String, int) - Method in class org.grlea.log.SimpleLogger
Logs a message containing an int's name and value.
dbo(DebugLevel, String, long) - Method in class org.grlea.log.SimpleLogger
Logs a message containing a long's name and value.
dbo(DebugLevel, String, boolean) - Method in class org.grlea.log.SimpleLogger
Logs a message containing a boolean's name and value.
dbo(DebugLevel, String, float) - Method in class org.grlea.log.SimpleLogger
Logs a message containing a float's name and value.
dbo(DebugLevel, String, double) - Method in class org.grlea.log.SimpleLogger
Logs a message containing a double's name and value.
dbo(DebugLevel, String, byte) - Method in class org.grlea.log.SimpleLogger
Logs a message containing a byte's name and value.
dbo(DebugLevel, String, byte[]) - Method in class org.grlea.log.SimpleLogger
Logs a message containing a byte array's name and value.
dbo(DebugLevel, String, char) - Method in class org.grlea.log.SimpleLogger
Logs a message containing a char's name and value.
dbo(DebugLevel, String, char[]) - Method in class org.grlea.log.SimpleLogger
Logs a message containing a char array's name and value.
debug(String) - Method in class org.grlea.log.SimpleLogger
Logs a debug message at the Debug level.
debug(Object) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
debug(Object, Throwable) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
debug(String) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
debug(String, Object) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
debug(String, Object, Object) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
debug(String, Object[]) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
debug(String, Throwable) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
debugObject(String, Object) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an object's name and value at the Debug level.
debugObject(String, boolean) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging a boolean's name and value at the Debug level.
debugObject(String, int) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an int's name and value at the Debug level.
defaultInstance() - Static method in class org.grlea.log.SimpleLog
Returns the default instance of SimpleLog.

E

entry(String) - Method in class org.grlea.log.SimpleLogger
Logs an entry message.
equals(Object) - Method in class org.grlea.log.DebugLevel
Returns true if the given object is a DebugLevel with the same level value as this DebugLevel.
error(String) - Method in class org.grlea.log.SimpleLogger
Logs a debug message at the Error level.
error(Object) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
error(Object, Throwable) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
error(String) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
error(String, Object) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
error(String, Object, Object) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
error(String, Object[]) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
error(String, Throwable) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
error(String, Throwable, boolean) - Method in interface org.grlea.log.rollover.RolloverManager.ErrorReporter
 
errorException(Throwable) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an exception (or throwable) at the Error level.
exit(String) - Method in class org.grlea.log.SimpleLogger
Logs an exit message.

F

fatal(String) - Method in class org.grlea.log.SimpleLogger
Logs a debug message at the Fatal level.
fatal(Object) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
fatal(Object, Throwable) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
fatalException(Throwable) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an exception (or throwable) at the Fatal level.
flush() - Method in class org.grlea.log.rollover.RolloverManager
Does nothing, as the RolloverManager auto-flushes after every write()
fromInt(int) - Static method in class org.grlea.log.DebugLevel
Returns the DebugLevel object associated with the given level.

G

getConfigName() - Method in class org.grlea.log.SimpleLogger
Returns this SimpleLogger's config name, the name used to specify and look up its configuration.
getDateFormat() - Method in class org.grlea.log.SimpleLog
Returns this SimpleLog's default date format.
getDebugLevel() - Method in class org.grlea.log.SimpleLogger
Returns the current debug level of this SimpleLogger.
getDefaultLevel() - Method in class org.grlea.log.SimpleLog
Returns this SimpleLog's default level.
getInstanceID() - Method in class org.grlea.log.SimpleLogger
Returns the #instanceId of this SimpleLogger, or null if it does not have one (i.e.
getLogger(String) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapterFactory
 
getName() - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
getSourceClass() - Method in class org.grlea.log.SimpleLogger
Returns the source class of this SimpleLogger.
getStrategy() - Method in class org.grlea.log.rollover.RolloverManager
Returns the RolloverStrategy object currently in use by this RolloverManager.
getWriter() - Method in class org.grlea.log.SimpleLog
Returns the print writer that is the destination for all of this SimpleLog's output.

H

hashCode() - Method in class org.grlea.log.DebugLevel
Returns this DebugLevel's level.

I

info(String) - Method in class org.grlea.log.SimpleLogger
Logs a debug message at the Info level.
info(Object) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
info(Object, Throwable) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
info(String) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
info(String, Object) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
info(String, Object, Object) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
info(String, Object[]) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
info(String, Throwable) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
infoObject(String, Object) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an object's name and value at the Info level.
infoObject(String, boolean) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging a boolean's name and value at the Info level.
infoObject(String, int) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an int's name and value at the Info level.
isDebugEnabled() - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
isDebugEnabled() - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
isDefaultTracing() - Method in class org.grlea.log.SimpleLog
Returns this SimpleLog's default tracing flag.
isErrorEnabled() - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
isErrorEnabled() - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
isFatalEnabled() - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
isInfoEnabled() - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
isInfoEnabled() - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
isInstanceDebugger() - Method in class org.grlea.log.SimpleLogger
Returns true if this SimpleLogger is a logger for one instance of the source class rather than for the class as a whole.
isPipingOutputToConsole() - Method in class org.grlea.log.SimpleLog
Returns whether this SimpleLog, when printing output to a file, will also print the output to the console.
isTraceEnabled() - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
isTracing() - Method in class org.grlea.log.SimpleLogger
Returns whether this SimpleLogger is currently reporting tracing or not.
isWarnEnabled() - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
isWarnEnabled() - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 

L

L1_FATAL - Static variable in class org.grlea.log.DebugLevel
The "Fatal" level.
L2_ERROR - Static variable in class org.grlea.log.DebugLevel
The "Error" level.
L3_WARN - Static variable in class org.grlea.log.DebugLevel
The "Warning" level.
L4_INFO - Static variable in class org.grlea.log.DebugLevel
The "Info" level.
L5_DEBUG - Static variable in class org.grlea.log.DebugLevel
The "Debug" level.
L6_VERBOSE - Static variable in class org.grlea.log.DebugLevel
The "Verbose" level.
L7_LUDICROUS - Static variable in class org.grlea.log.DebugLevel
The "Ludicrous" level.
ludicrous(String) - Method in class org.grlea.log.SimpleLogger
Logs a debug message at the Ludicrous level.
ludicrousObject(String, Object) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an object's name and value at the Ludicrous level.
ludicrousObject(String, boolean) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging a boolean's name and value at the Ludicrous level.
ludicrousObject(String, int) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an int's name and value at the Ludicrous level.

O

org.grlea.log - package org.grlea.log
Simple Log: the simple way to log.
(See this package's description for the documentation.)
org.grlea.log.adapters.commons - package org.grlea.log.adapters.commons
An adapter for using SimpleLog as the provider for Jakarta Commons Logging.
org.grlea.log.adapters.slf4j - package org.grlea.log.adapters.slf4j
An adapter for using SimpleLog as the provider for SLF4J.
org.grlea.log.rollover - package org.grlea.log.rollover
Classes used to implement rolling of log files on a periodic basis.

R

RolloverManager - class org.grlea.log.rollover.RolloverManager.
The RolloverManager is a Writer implementation used by Simple Log to enable periodic log-rolling functionality.
RolloverManager(Properties, RolloverManager.ErrorReporter) - Constructor for class org.grlea.log.rollover.RolloverManager
Creates a new RolloverManager, configuring it with provided properties.
RolloverManager.ErrorReporter - interface org.grlea.log.rollover.RolloverManager.ErrorReporter.
An interface for objects wishing to be notified of errors occurring in a RolloverManager while it is running.
RolloverStrategy - interface org.grlea.log.rollover.RolloverStrategy.
An interface for objects that wish to be able to decide when log files should be rolled over.
reloadProperties() - Method in class org.grlea.log.SimpleLog
Reloads this SimpleLog's configuration.
rolloverIfNecessary() - Method in class org.grlea.log.rollover.RolloverManager
Prompts the RolloverManager to check whether the log file needs to be rolled and to perform that rolling if necessary.
rolloverNow(Date, long) - Method in interface org.grlea.log.rollover.RolloverStrategy
Decides whether or not the log file should be rolled over immediately.

S

SimpleLog - class org.grlea.log.SimpleLog.
Controls the configuration and formatting of a group of SimpleLoggers.
SimpleLog(Properties) - Constructor for class org.grlea.log.SimpleLog
Creates a new SimpleLog configured by the given properties object.
SimpleLog(URL) - Constructor for class org.grlea.log.SimpleLog
Creates a new SimpleLog configured by a properties file read from the given URL.
SimpleLogger - class org.grlea.log.SimpleLogger.
Used to create log messages for a single class or instance of a class.
SimpleLogger(Class) - Constructor for class org.grlea.log.SimpleLogger
Creates a new SimpleLogger for the specified Class using the default SimpleLog.
SimpleLogger(Class, Object) - Constructor for class org.grlea.log.SimpleLogger
Creates a new SimpleLogger for the specified Class using the default SimpleLog.
SimpleLogger(Class, boolean) - Constructor for class org.grlea.log.SimpleLogger
Creates a new SimpleLogger for the specified Class using the default SimpleLog.
SimpleLogger(Class, Object, boolean) - Constructor for class org.grlea.log.SimpleLogger
Creates a new SimpleLogger for the specified Class using the default SimpleLog.
SimpleLogger(SimpleLog, Class) - Constructor for class org.grlea.log.SimpleLogger
Creates a new SimpleLogger for the specified Class that will log to, and be configured by, the provided SimpleLog.
SimpleLogger(SimpleLog, Class, Object) - Constructor for class org.grlea.log.SimpleLogger
Creates a new SimpleLogger for the specified Class that will log to, and be configured by, the provided SimpleLog.
SimpleLogger(SimpleLog, Class, boolean) - Constructor for class org.grlea.log.SimpleLogger
Creates a new SimpleLogger for the specified Class that will log to, and be configured by, the provided SimpleLog.
SimpleLogger(SimpleLog, Class, Object, boolean) - Constructor for class org.grlea.log.SimpleLogger
Creates a new SimpleLogger for the specified Class that will log to, and be configured by, the provided SimpleLog.
Slf4jAdapter - class org.grlea.log.adapters.slf4j.Slf4jAdapter.
An adapter for using Simple Log within the SLF4J package.
Slf4jAdapterFactory - class org.grlea.log.adapters.slf4j.Slf4jAdapterFactory.
An implementation of ILoggerFactory which always returns Slf4jAdapter instances.
Slf4jAdapterFactory() - Constructor for class org.grlea.log.adapters.slf4j.Slf4jAdapterFactory
Creates a new Slf4jAdapterFactory.
setDateFormat(DateFormat) - Method in class org.grlea.log.SimpleLog
Sets this SimpleLog's default date format.
setDebugLevel(DebugLevel) - Method in class org.grlea.log.SimpleLogger
Sets the current debug level of this SimpleLogger.
setDefaultLevel(DebugLevel) - Method in class org.grlea.log.SimpleLog
Sets this SimpleLog's default level.
setDefaultTracing(boolean) - Method in class org.grlea.log.SimpleLog
Sets this SimpleLog's default tracing flag.
setInstanceID(Object) - Method in class org.grlea.log.SimpleLogger
Sets the #instanceId of this SimpleLogger instance.
setLog(SimpleLog) - Static method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
setPipingOutputToConsole(boolean) - Method in class org.grlea.log.SimpleLog
Sets whether this SimpleLog, when printing output to a file, should also print the output to the console.
setStrategy(RolloverStrategy) - Method in class org.grlea.log.rollover.RolloverManager
Sets the RolloverStrategy to be used by this RolloverManager.
setTracing(boolean) - Method in class org.grlea.log.SimpleLogger
Sets this SimpleLogger's tracing flag.
setWriter(PrintWriter) - Method in class org.grlea.log.SimpleLog
Sets the print writer to be used as the destination for all of this SimpleLog's output.

T

toString() - Method in class org.grlea.log.DebugLevel
Returns a string representation of this object in its current state.
trace(Object) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
trace(Object, Throwable) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 

V

verbose(String) - Method in class org.grlea.log.SimpleLogger
Logs a debug message at the Verbose level.
verboseObject(String, Object) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an object's name and value at the Verbose level.
verboseObject(String, boolean) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging a boolean's name and value at the Verbose level.
verboseObject(String, int) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an int's name and value at the Verbose level.

W

warn(String) - Method in class org.grlea.log.SimpleLogger
Logs a debug message at the Warn level.
warn(Object) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
warn(Object, Throwable) - Method in class org.grlea.log.adapters.commons.CommonsLoggingAdapter
 
warn(String) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
warn(String, Object) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
warn(String, Object, Object) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
warn(String, Object[]) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
warn(String, Throwable) - Method in class org.grlea.log.adapters.slf4j.Slf4jAdapter
 
warnException(Throwable) - Method in class org.grlea.log.SimpleLogger
Convenience method for logging an exception (or throwable) at the Warn level.
wouldLog(DebugLevel) - Method in class org.grlea.log.SimpleLogger
A convenience method for testing whether a message logged at the specified level would be logged by this SimpleLogger.
write(char[], int, int) - Method in class org.grlea.log.rollover.RolloverManager
Writes the output to the current writer and flushes it.

C D E F G H I L O R S T V W
Copyright (c) 2004-2006, Graham Lea. All rights reserved.