A C D E F G H I L O P R S T V W X

A

ALL - Static variable in class org.log5j.Level
Use this level to show all logging.

C

compareTo(Level) - Method in class org.log5j.Level
Compare this logging level with another.
ConsoleWriter - Class in org.log5j.writer
ConsoleWriter writes log messages to System.out.
ConsoleWriter(Format, Properties) - Constructor for class org.log5j.writer.ConsoleWriter
Create a new ConsoleWriter.

D

DEBUG - Static variable in class org.log5j.Level
Log debug messages and above
debug(Object...) - Method in class org.log5j.Logger
Log a message for a number of objects or primitives if the logging priority is DEBUG or lower.
debug(Object) - Method in class org.log5j.Logger
Log a message for a single object or primitive if the logging priority is DEBUG or lower.
debugf(String, Object...) - Method in class org.log5j.Logger
Log a formatted message with the given object or primitive arguments if the logging priority is DEBUG or lower.

E

equals(Level) - Method in class org.log5j.Level
Returns true if the other Level has the same int value as this logging level.
equals(Object) - Method in class org.log5j.Level
Returns true if the argument o is a Level and has the same int value as this logging level.
ERROR - Static variable in class org.log5j.Level
Log error messages and above.
error(Object...) - Method in class org.log5j.Logger
Log a message for a number of objects or primitives if the logging priority is ERROR or lower.
error(Object) - Method in class org.log5j.Logger
Log a message for a single object or primitive if the logging priority is DEBUG or lower.
errorf(String, Object...) - Method in class org.log5j.Logger
Log a formatted message with the given object or primitive arguments if the logging priority is ERROR or lower.

F

FATAL - Static variable in class org.log5j.Level
Log only fatal error messages.
fatal(Object...) - Method in class org.log5j.Logger
Log a message for a number of objects or primitives if the logging priority is FATAL or lower.
fatal(Object) - Method in class org.log5j.Logger
Log a message for a single object or primitive if the logging priority is FATAL or lower.
fatalf(String, Object...) - Method in class org.log5j.Logger
Log a formatted message with the given object or primitive arguments if the logging priority is FATAL or lower.
FileWriter - Class in org.log5j.writer
FileWriter writes log messages to a file.
FileWriter(Format, Properties) - Constructor for class org.log5j.writer.FileWriter
Create a new FileWriter.
Format - Interface in org.log5j
Implement this interface to create a new format for a log message.
format(String, String, Object...) - Method in interface org.log5j.Format
Return a formatted String derived from a number of objects or primitives to append to a logger output stream.
format(String, String, Object...) - Method in class org.log5j.format.PatternFormat
 
format(String, String, Object...) - Method in class org.log5j.format.SimpleFormat
 
format(String, String, Object...) - Method in class org.log5j.format.XmlFormat
 

G

getFormat(Format) - Method in class org.log5j.Writer
Return the log format object for this writer or defaultFormat if this writer has no specific format.
getLogger(Object) - Static method in class org.log5j.Logger
Return the Logger for the given argument.

H

hashCode() - Method in class org.log5j.Level
The hash code of a Level is its int value.

I

INFO - Static variable in class org.log5j.Level
Log info messages and above.
info(Object...) - Method in class org.log5j.Logger
Log a message for a number of objects or primitives if the logging priority is INFO or lower.
info(Object) - Method in class org.log5j.Logger
Log a message for a single object or primitive if the logging priority is INFO or lower.
infof(String, Object...) - Method in class org.log5j.Logger
Log a formatted message with the given object or primitive arguments if the logging priority is INFO or lower.
isDebug() - Method in class org.log5j.Logger
Return true if the value for this Logger is DEBUG or less
isError() - Method in class org.log5j.Logger
Return true if the value for this Logger is ERROR or less
isFatal() - Method in class org.log5j.Logger
Return true if the value for this Logger is FATAL or less
isInfo() - Method in class org.log5j.Logger
Return true if the value for this Logger is INFO or less
isLevel(Level) - Method in class org.log5j.Logger
Return true if the value for this Logger is less than or equal to level.value
isTrace() - Method in class org.log5j.Logger
Return true if the value for this Logger is TRACE or less
isWarn() - Method in class org.log5j.Logger
Return true if the value for this Logger is WARN or less

L

Level - Class in org.log5j
A logging level to compare when deciding whether to log a message.
Level(String, int) - Constructor for class org.log5j.Level
Create a new logging level with the given name and int value between 1 and 100 inclusive.
log(Level, Object...) - Method in class org.log5j.Logger
Log a message for a number of objects or primitives if the logging priority is equal to or lower than the level.
log(Level, Object) - Method in class org.log5j.Logger
Log a message for a single object or primitive if the logging priority is equal to or lower than the level.
logf(Level, String, Object...) - Method in class org.log5j.Logger
Log a formatted message with the given object or primitive arguments if the logging priority is equal to or lower than the level.
Logger - Class in org.log5j
The core class of the log5j package.

O

OFF - Static variable in class org.log5j.Level
Use this level to turn off all logging.
org.log5j - package org.log5j
Provides the Logger and Level classes, the interface for all Format objects and the abstract base class for all Writer objects.
org.log5j.format - package org.log5j.format
Provides concrete implementations of the Format interface to format log messages in various ways.
org.log5j.writer - package org.log5j.writer
Provides concrete implementations of the abstract Writer class to log messages to various destinations.

P

PatternFormat - Class in org.log5j.format
The PatternFormat class allows a developer to customise the output of a logger.
PatternFormat(Properties) - Constructor for class org.log5j.format.PatternFormat
The standard constructor takes as arguments the properties that may affect how PatternFormat formats log lines.

R

RollingFileWriter - Class in org.log5j.writer
RollingFileWriter writes log messages to a file, and rolls the file either periodically or on the basis of file size.
RollingFileWriter(Format, Properties) - Constructor for class org.log5j.writer.RollingFileWriter
Create a new RollingFileWriter.

S

SimpleFormat - Class in org.log5j.format
A simple, fixed format for log messages.
SimpleFormat(Properties) - Constructor for class org.log5j.format.SimpleFormat
The standard constructor takes as arguments the properties that may affect how SimpleFormat formats log lines.
SocketWriter - Class in org.log5j.writer
SocketWriter writes log messages to a TCP socket.
SocketWriter(Format, Properties) - Constructor for class org.log5j.writer.SocketWriter
Create a new SocketWriter and connect.

T

toString() - Method in class org.log5j.Level
Returns String representation of this logging level, which is the same as the name.
toString() - Method in class org.log5j.Logger
 
TRACE - Static variable in class org.log5j.Level
Log trace messages and above
trace(Object...) - Method in class org.log5j.Logger
Log a message for a number of objects or primitives if the logging priority is TRACE or lower.
trace(Object) - Method in class org.log5j.Logger
Log a message for a single object or primitive if the logging priority is TRACE or lower.
tracef(String, Object...) - Method in class org.log5j.Logger
Log a formatted message with the given object or primitive arguments if the logging priority is TRACE or lower.

V

VERSION - Static variable in class org.log5j.Logger
The log5j version string.

W

WARN - Static variable in class org.log5j.Level
Log warning messages and above.
warn(Object...) - Method in class org.log5j.Logger
Log a message for a number of objects or primitives if the logging priority is WARN or lower.
warn(Object) - Method in class org.log5j.Logger
Log a message for a single object or primitive if the logging priority is WARN or lower.
warnf(String, Object...) - Method in class org.log5j.Logger
Log a formatted message with the given object or primitive arguments if the logging priority is WARN or lower.
write(String) - Method in class org.log5j.writer.ConsoleWriter
 
write(String) - Method in class org.log5j.writer.FileWriter
 
write(String) - Method in class org.log5j.writer.RollingFileWriter
 
write(String) - Method in class org.log5j.writer.SocketWriter
 
write(String) - Method in class org.log5j.Writer
Write a single message to the log.
Writer - Class in org.log5j
Extend this abstract class to create a new writer for log messages.
Writer(Format) - Constructor for class org.log5j.Writer
Any class that extends AbstractWriter must call this constructor and provide suitable values for format.

X

XmlFormat - Class in org.log5j.format
An XML format for log messages.
XmlFormat(Properties) - Constructor for class org.log5j.format.XmlFormat
The standard constructor takes as arguments the properties that may affect how SimpleFormat formats log lines.

A C D E F G H I L O P R S T V W X