A C D E G H I L N R S W

A

AbstractLogger - class net.sf.wraplog.AbstractLogger.
Abstract base class to write messages about interesting things happening to a log.
AbstractLogger() - Constructor for class net.sf.wraplog.AbstractLogger
 

C

checkLevel(int, String) - Method in class net.sf.wraplog.AbstractLogger
Check that logLevel is a valid value for variable name.

D

DEBUG - Static variable in class net.sf.wraplog.Level
Logging level for messages that usually are of no interest for the user.
DefaultLoggingErrorHandler - class net.sf.wraplog.DefaultLoggingErrorHandler.
LoggingErrorHandler to throw a LoggingException on every message that cannot be logged.
DefaultLoggingErrorHandler() - Constructor for class net.sf.wraplog.DefaultLoggingErrorHandler
 
debug(String) - Method in class net.sf.wraplog.AbstractLogger
Log a debug message.
debug(String, Object) - Method in class net.sf.wraplog.AbstractLogger
Log a template based debug message, where the first {} is be replaced by a string reprenentation of item.
debug(String, Object, Object) - Method in class net.sf.wraplog.AbstractLogger
Log a template based debug message, where the first {} is be replaced by a string reprenentation of firstItem and the second one by secondItem.
debug(String, Throwable) - Method in class net.sf.wraplog.AbstractLogger
Log a debug message with a related stack trace.

E

ERROR - Static variable in class net.sf.wraplog.Level
Logging level for messages that explain why the desired operation cannot be performed.
error(String) - Method in class net.sf.wraplog.AbstractLogger
 
error(String, Object) - Method in class net.sf.wraplog.AbstractLogger
 
error(String, Object, Object) - Method in class net.sf.wraplog.AbstractLogger
 
error(String, Throwable) - Method in class net.sf.wraplog.AbstractLogger
 

G

getLevel() - Method in class net.sf.wraplog.AbstractLogger
 
getLevel() - Method in class net.sf.wraplog.SunLogger
 
getLevelText(int) - Method in class net.sf.wraplog.SystemLogger
Return a text that represents logLevel.
getLog4jLogger(String) - Static method in class net.sf.wraplog.Log4jLogger
 
getLoggedMessageCount() - Method in class net.sf.wraplog.AbstractLogger
Count of how many messages have been logged.
getLogger(String) - Static method in class net.sf.wraplog.SunLogger
 

H

handleError(String) - Method in class net.sf.wraplog.AbstractLogger
Handle an error described by message.
handleError(String, Throwable, String, Throwable) - Method in class net.sf.wraplog.AbstractLogger
Handle an error described by message caused by error while logging originalMessage and originalError.
handleLoggingError(String, Throwable, String, Throwable) - Method in class net.sf.wraplog.DefaultLoggingErrorHandler
Throw a LoggingException.
handleLoggingError(String, Throwable, String, Throwable) - Method in interface net.sf.wraplog.LoggingErrorHandler
Handle error that prevented a message from being logged.

I

INFO - Static variable in class net.sf.wraplog.Level
Logging level for messages that tell details about normal operations currently going on.
info(String) - Method in class net.sf.wraplog.AbstractLogger
 
info(String, Throwable) - Method in class net.sf.wraplog.AbstractLogger
 
info(String, Object) - Method in class net.sf.wraplog.AbstractLogger
 
info(String, Object, Object) - Method in class net.sf.wraplog.AbstractLogger
 
isDebugEnabled() - Method in class net.sf.wraplog.AbstractLogger
 
isEnabled(int) - Method in class net.sf.wraplog.AbstractLogger
 
isEnabled(int) - Method in class net.sf.wraplog.SunLogger
 
isErrorEnabled() - Method in class net.sf.wraplog.AbstractLogger
 
isInfoEnabled() - Method in class net.sf.wraplog.AbstractLogger
 
isWarnEnabled() - Method in class net.sf.wraplog.AbstractLogger
 

L

Level - class net.sf.wraplog.Level.
Declaration of different logging levels.
Level() - Constructor for class net.sf.wraplog.Level
 
Log4jLogger - class net.sf.wraplog.Log4jLogger.
Logger to delaget to Log4j.
Log4jLogger(String) - Constructor for class net.sf.wraplog.Log4jLogger
 
Log4jLogger(Class) - Constructor for class net.sf.wraplog.Log4jLogger
 
LoggingErrorHandler - interface net.sf.wraplog.LoggingErrorHandler.
Interface to handle errors during logging a message.
LoggingException - exception net.sf.wraplog.LoggingException.
RuntimeException to indicate that a message could not be logged.
LoggingException(String, Throwable) - Constructor for class net.sf.wraplog.LoggingException
 
log(int, String, Object) - Method in class net.sf.wraplog.AbstractLogger
 
log(int, String, Object, Object) - Method in class net.sf.wraplog.AbstractLogger
 
log(int, String) - Method in class net.sf.wraplog.AbstractLogger
Provided that getLevel() accepts it, log message.
log(int, String, Throwable) - Method in class net.sf.wraplog.AbstractLogger
Provided that getLevel() accepts it, log message and error.

N

NoneLogger - class net.sf.wraplog.NoneLogger.
A Logger that does not log anywhere.
NoneLogger() - Constructor for class net.sf.wraplog.NoneLogger
 
net.sf.wraplog - package net.sf.wraplog
 

R

reallyLog(int, String, Throwable) - Method in class net.sf.wraplog.AbstractLogger
Log a message and optional error details.
reallyLog(int, String, Throwable) - Method in class net.sf.wraplog.Log4jLogger
 
reallyLog(int, String, Throwable) - Method in class net.sf.wraplog.NoneLogger
 
reallyLog(int, String, Throwable) - Method in class net.sf.wraplog.SunLogger
 
reallyLog(int, String, Throwable) - Method in class net.sf.wraplog.SystemLogger
 
reallyLog(int, String, Throwable) - Method in class net.sf.wraplog.WriterLogger
 

S

SunLogger - class net.sf.wraplog.SunLogger.
Logger using java.util.logging.Logger.
SunLogger(String) - Constructor for class net.sf.wraplog.SunLogger
 
SystemLogger - class net.sf.wraplog.SystemLogger.
Logger to write messages to System.out (debug, info) and System.err (warn, error).
SystemLogger() - Constructor for class net.sf.wraplog.SystemLogger
 
setLevel(int) - Method in class net.sf.wraplog.AbstractLogger
 
setLevel(int) - Method in class net.sf.wraplog.SunLogger
 
setLoggingErrorHandler(LoggingErrorHandler) - Static method in class net.sf.wraplog.AbstractLogger
Set the handler to be called when a message cannot be logged.

W

WARN - Static variable in class net.sf.wraplog.Level
Logging level for messages that notify about things that can be processed, but the user might want to take a closer look at the current situation.
WriterLogger - class net.sf.wraplog.WriterLogger.
Logger to log to a Writer, for example a FileWriter or StringWriter.
WriterLogger(Writer) - Constructor for class net.sf.wraplog.WriterLogger
 
warn(String) - Method in class net.sf.wraplog.AbstractLogger
 
warn(String, Object) - Method in class net.sf.wraplog.AbstractLogger
 
warn(String, Object, Object) - Method in class net.sf.wraplog.AbstractLogger
 
warn(String, Throwable) - Method in class net.sf.wraplog.AbstractLogger
 

A C D E G H I L N R S W