Skip navigation links
A C D E G I J L N P R S T V W 

A

add(LogListener) - Static method in class net.pwall.log.LogListener
Add a listener to the list.

C

close() - Method in class net.pwall.log.LogListener
Close the listener - remove it from the list.
ConsoleLogger - Class in net.pwall.log
A Logger that outputs to a PrintStream, usually stdout or stderr.
ConsoleLogger(String, Level, PrintStream) - Constructor for class net.pwall.log.ConsoleLogger
Create a ConsoleLogger with the supplied name, level and output stream.
ConsoleLogger(String, Level) - Constructor for class net.pwall.log.ConsoleLogger
Create a ConsoleLogger with the supplied name and level and the default output stream.
ConsoleLogger(String, PrintStream) - Constructor for class net.pwall.log.ConsoleLogger
Create a ConsoleLogger with the supplied name and output stream and the default level.
ConsoleLogger(String) - Constructor for class net.pwall.log.ConsoleLogger
Create a ConsoleLogger with the supplied name and the default level and output stream.
ConsoleLoggerFactory - Class in net.pwall.log
A LoggerFactory that creates ConsoleLogger objects.
ConsoleLoggerFactory(Level, PrintStream) - Constructor for class net.pwall.log.ConsoleLoggerFactory
Construct a ConsoleLoggerFactory with the supplied default logging level and output stream.
ConsoleLoggerFactory(PrintStream) - Constructor for class net.pwall.log.ConsoleLoggerFactory
Construct a ConsoleLoggerFactory with the standard default logging level and the supplied output stream.
ConsoleLoggerFactory(Level) - Constructor for class net.pwall.log.ConsoleLoggerFactory
Construct a ConsoleLoggerFactory with the supplied default logging level, using the standard output stream.
ConsoleLoggerFactory() - Constructor for class net.pwall.log.ConsoleLoggerFactory
Construct a ConsoleLoggerFactory with the standard default logging level and output stream.

D

debug(Object) - Method in class net.pwall.log.ConsoleLogger
Output a debug message.
debug(Object) - Method in class net.pwall.log.JavaLogger
Output a debug message.
debug(Object) - Method in interface net.pwall.log.Logger
Output a debug message.
debug(Supplier<Object>) - Method in interface net.pwall.log.Logger
Output a debug message supplied by a Supplier function.
debug(Object) - Method in class net.pwall.log.NullLogger
Ignore logging output.
debug(Supplier<Object>) - Method in class net.pwall.log.NullLogger
Ignore logging output.
debug(Object) - Method in class net.pwall.log.Slf4jLogger
Output a debug message.
defaultLevel - Static variable in class net.pwall.log.ConsoleLogger
Default logging level for ConsoleLogger
DefaultLoggerFactory - Class in net.pwall.log
The default LoggerFactory, which tries to create a Logger as follows: If a custom LoggerFactory has been provided, call that and return the result If slf4j is available on the class path, create an Slf4jLogger If the system property java.util.logging.config.file is present, or if the file logging.properties is present as a resource, create a JavaLogger Otherwise, create a ConsoleLogger
DefaultLoggerFactory() - Constructor for class net.pwall.log.DefaultLoggerFactory
 
defaultOutput - Static variable in class net.pwall.log.ConsoleLogger
Default output stream for ConsoleLogger

E

error(Object) - Method in class net.pwall.log.ConsoleLogger
Output an error message.
error(Object, Throwable) - Method in class net.pwall.log.ConsoleLogger
Output an error message along with a Throwable.
error(Object) - Method in class net.pwall.log.JavaLogger
Output an error message.
error(Object, Throwable) - Method in class net.pwall.log.JavaLogger
Output an error message along with a Throwable.
error(Object) - Method in interface net.pwall.log.Logger
Output an error message.
error(Object, Throwable) - Method in interface net.pwall.log.Logger
Output an error message along with a Throwable.
error(Supplier<Object>) - Method in interface net.pwall.log.Logger
Output an error message supplied by a Supplier function.
error(Supplier<Object>, Throwable) - Method in interface net.pwall.log.Logger
Output an error message supplied by a Supplier function, along with a Throwable.
error(Object) - Method in class net.pwall.log.NullLogger
Ignore logging output.
error(Object, Throwable) - Method in class net.pwall.log.NullLogger
Ignore logging output.
error(Supplier<Object>) - Method in class net.pwall.log.NullLogger
Ignore logging output.
error(Supplier<Object>, Throwable) - Method in class net.pwall.log.NullLogger
Ignore logging output.
error(Object) - Method in class net.pwall.log.Slf4jLogger
Output an error message.
error(Object, Throwable) - Method in class net.pwall.log.Slf4jLogger
Output an error message along with a Throwable.

G

getConsoleLogger(String) - Static method in class net.pwall.log.LoggerFactory
Get a ConsoleLogger with the specified name.
getDefault(String) - Static method in interface net.pwall.log.Logger
Get a default Logger with the supplied name.
getDefault(Class<?>) - Static method in interface net.pwall.log.Logger
Get a default Logger for the supplied Java Class.
getDefault() - Static method in class net.pwall.log.LoggerFactory
Get the default LoggerFactory (usually, but not necessarily, a DefaultLoggerFactory).
getDefaultLevel() - Method in class net.pwall.log.LoggerFactory
Get the default Level to be used by Logger instances created by this LoggerFactory.
getDefaultLogger(String) - Static method in class net.pwall.log.LoggerFactory
Get a Logger from the default LoggerFactory, with the supplied name.
getDefaultLogger(Class<?>) - Static method in class net.pwall.log.LoggerFactory
Get a Logger from the default LoggerFactory, with the supplied name.
getInstance() - Static method in class net.pwall.log.ConsoleLoggerFactory
Get the shared ConsoleLoggerFactory instance.
getInstance() - Static method in class net.pwall.log.DefaultLoggerFactory
Get the shared DefaultLoggerFactory instance.
getInstance() - Static method in class net.pwall.log.JavaLoggerFactory
Get the shared JavaLoggerFactory instance.
getInstance() - Static method in class net.pwall.log.NullLoggerFactory
Get the shared NullLoggerFactory instance.
getJavaLogger(String) - Static method in class net.pwall.log.JavaLoggerFactory
Get a JavaLogger with the specified name.
getJavaLogger(Class<?>) - Static method in class net.pwall.log.JavaLoggerFactory
Get a JavaLogger for the nominated Java class.
getLevel() - Method in class net.pwall.log.ConsoleLogger
Get the minimum level to be output by this ConsoleLogger.
getLevel() - Method in class net.pwall.log.LogItem
Get the Level of the log event.
getLogger(String) - Method in class net.pwall.log.ConsoleLoggerFactory
Get a ConsoleLogger with the supplied name and the current default Level.
getLogger(String, Level) - Method in class net.pwall.log.ConsoleLoggerFactory
Get a ConsoleLogger with the supplied name and Level.
getLogger(String) - Method in class net.pwall.log.DefaultLoggerFactory
Get a Logger with the specified name.
getLogger(String, Level) - Method in class net.pwall.log.DefaultLoggerFactory
Get a Logger with the specified name and Level.
getLogger(String) - Method in class net.pwall.log.JavaLoggerFactory
Get a JavaLogger with the supplied name, using the default Level.
getLogger(String, Level) - Method in class net.pwall.log.JavaLoggerFactory
Get a JavaLogger with the supplied name and Level.
getLogger(String) - Method in class net.pwall.log.LoggerFactory
Get a Logger with the supplied name, using the default Level.
getLogger(String, Level) - Method in class net.pwall.log.LoggerFactory
Get a Logger with the supplied name and Level.
getLogger(Class<?>) - Method in class net.pwall.log.LoggerFactory
Get a Logger for the nominated Java class.
getLogger(Class<?>, Level) - Method in class net.pwall.log.LoggerFactory
Get a Logger for the nominated Java class, using the default Level.
getLogger(String) - Method in class net.pwall.log.NullLoggerFactory
Get a NullLogger with the supplied name, using the default Level.
getLogger(String, Level) - Method in class net.pwall.log.NullLoggerFactory
Get a NullLogger with the supplied name and Level.
getName() - Method in class net.pwall.log.ConsoleLogger
Get the name associated with this ConsoleLogger.
getName() - Method in class net.pwall.log.JavaLogger
Get the name associated with this JavaLogger.
getName() - Method in interface net.pwall.log.Logger
Get the name associated with this Logger.
getName() - Method in class net.pwall.log.LogItem
Get the name of the Logger that output the log event.
getName() - Method in class net.pwall.log.NullLogger
Get the name associated with this NullLogger.
getName() - Method in class net.pwall.log.Slf4jLogger
Get the name associated with this Logger.
getOutput() - Method in class net.pwall.log.ConsoleLogger
Get the output stream associated with this ConsoleLogger.
getOutput() - Method in class net.pwall.log.ConsoleLoggerFactory
Get the output stream used by ConsoleLogger instances created by this ConsoleLoggerFactory.
getSeparator() - Method in class net.pwall.log.ConsoleLogger
Get the character separator used to format output messages.
getText() - Method in class net.pwall.log.LogItem
Get the text of the log event.
getThrowable() - Method in class net.pwall.log.LogItem
Get the Throwable associated with the event, or null if none specified.
getTime() - Method in class net.pwall.log.LogItem
Get the time of the log event.
getValue() - Method in enum net.pwall.log.Level
 

I

info(Object) - Method in class net.pwall.log.ConsoleLogger
Output an info message.
info(Object) - Method in class net.pwall.log.JavaLogger
Output an info message.
info(Object) - Method in interface net.pwall.log.Logger
Output an info message.
info(Supplier<Object>) - Method in interface net.pwall.log.Logger
Output an info message supplied by a Supplier function.
info(Object) - Method in class net.pwall.log.NullLogger
Ignore logging output.
info(Supplier<Object>) - Method in class net.pwall.log.NullLogger
Ignore logging output.
info(Object) - Method in class net.pwall.log.Slf4jLogger
Output an info message.
invokeAll(Logger, Level, String, Throwable) - Static method in class net.pwall.log.LogListener
Invoke all listeners.
isDebugEnabled() - Method in class net.pwall.log.ConsoleLogger
Test whether debug output is enabled for this ConsoleLogger.
isDebugEnabled() - Method in class net.pwall.log.JavaLogger
Test whether debug output is enabled for this JavaLogger.
isDebugEnabled() - Method in interface net.pwall.log.Logger
Test whether debug output is enabled for this Logger.
isDebugEnabled() - Method in class net.pwall.log.NullLogger
Test whether debug output is enabled for this NullLogger.
isDebugEnabled() - Method in class net.pwall.log.Slf4jLogger
Test whether debug output is enabled for this Logger.
isErrorEnabled() - Method in class net.pwall.log.ConsoleLogger
Test whether error output is enabled for this ConsoleLogger.
isErrorEnabled() - Method in class net.pwall.log.JavaLogger
Test whether error output is enabled for this JavaLogger.
isErrorEnabled() - Method in interface net.pwall.log.Logger
Test whether error output is enabled for this Logger.
isErrorEnabled() - Method in class net.pwall.log.NullLogger
Test whether error output is enabled for this NullLogger.
isErrorEnabled() - Method in class net.pwall.log.Slf4jLogger
Test whether error output is enabled for this Logger.
isInfoEnabled() - Method in class net.pwall.log.ConsoleLogger
Test whether info output is enabled for this ConsoleLogger.
isInfoEnabled() - Method in class net.pwall.log.JavaLogger
Test whether info output is enabled for this JavaLogger.
isInfoEnabled() - Method in interface net.pwall.log.Logger
Test whether info output is enabled for this Logger.
isInfoEnabled() - Method in class net.pwall.log.NullLogger
Test whether info output is enabled for this NullLogger.
isInfoEnabled() - Method in class net.pwall.log.Slf4jLogger
Test whether info output is enabled for this Logger.
isTraceEnabled() - Method in class net.pwall.log.ConsoleLogger
Test whether trace output is enabled for this ConsoleLogger.
isTraceEnabled() - Method in class net.pwall.log.JavaLogger
Test whether trace output is enabled for this JavaLogger.
isTraceEnabled() - Method in interface net.pwall.log.Logger
Test whether trace output is enabled for this Logger.
isTraceEnabled() - Method in class net.pwall.log.NullLogger
Test whether trace output is enabled for this NullLogger.
isTraceEnabled() - Method in class net.pwall.log.Slf4jLogger
Test whether trace output is enabled for this Logger.
isWarnEnabled() - Method in class net.pwall.log.ConsoleLogger
Test whether warning output is enabled for this ConsoleLogger.
isWarnEnabled() - Method in class net.pwall.log.JavaLogger
Test whether warning output is enabled for this JavaLogger.
isWarnEnabled() - Method in interface net.pwall.log.Logger
Test whether warning output is enabled for this Logger.
isWarnEnabled() - Method in class net.pwall.log.NullLogger
Test whether warning output is enabled for this NullLogger.
isWarnEnabled() - Method in class net.pwall.log.Slf4jLogger
Test whether warning output is enabled for this Logger.
iterator() - Method in class net.pwall.log.LogList
Get an Iterator over the LogItem list entries.

J

JavaLogger - Class in net.pwall.log
A Logger that uses the java.util.logging framework.
JavaLogger(String, Level) - Constructor for class net.pwall.log.JavaLogger
Create a JavaLogger with the supplied name and Level.
JavaLogger(String) - Constructor for class net.pwall.log.JavaLogger
Create a JavaLogger with the supplied name, using the default level.
JavaLoggerFactory - Class in net.pwall.log
A LoggerFactory that creates JavaLogger objects.
JavaLoggerFactory() - Constructor for class net.pwall.log.JavaLoggerFactory
 

L

Level - Enum in net.pwall.log
The logging level.
log(Level, Object) - Method in interface net.pwall.log.Logger
Output a message with a variable level.
log(Level, Supplier<Object>) - Method in interface net.pwall.log.Logger
Output a message supplied by a Supplier function, with a variable level.
log(Level, Object) - Method in class net.pwall.log.NullLogger
Ignore logging output.
log(Level, Supplier<Object>) - Method in class net.pwall.log.NullLogger
Ignore logging output.
Logger - Interface in net.pwall.log
The main Logger interface.
LoggerFactory - Class in net.pwall.log
The LoggerFactory interface allows for the implementation of a variety of processes of Logger object creation.
LoggerFactory() - Constructor for class net.pwall.log.LoggerFactory
 
LogItem - Class in net.pwall.log
A log item, as used by the LogList class.
LogItem(Instant, String, Level, String, Throwable) - Constructor for class net.pwall.log.LogItem
Create a LogItem.
LogList - Class in net.pwall.log
An implementation of LogListener that stores log items in a list.
LogList() - Constructor for class net.pwall.log.LogList
 
LogListener - Class in net.pwall.log
The LogListener class is the base class for an object that is called for every log event.
LogListener() - Constructor for class net.pwall.log.LogListener
Construct a LogListener - add the listener to the list of listeners.

N

net.pwall.log - package net.pwall.log
 
NullLogger - Class in net.pwall.log
A Null Logger - all output will be ignored.
NullLogger(String) - Constructor for class net.pwall.log.NullLogger
Create a NullLogger with the supplied name.
NullLoggerFactory - Class in net.pwall.log
A LoggerFactory that returns only a NullLogger.
NullLoggerFactory() - Constructor for class net.pwall.log.NullLoggerFactory
 

P

present() - Static method in class net.pwall.log.LogListener
Test whether listeners are present.

R

receive(Instant, Logger, Level, String, Throwable) - Method in class net.pwall.log.LogList
Receive a log event and store a new LogItem in the list.
receive(Instant, Logger, Level, String, Throwable) - Method in class net.pwall.log.LogListener
Receive a log event.
remove(LogListener) - Static method in class net.pwall.log.LogListener
Remove a listener from the list.

S

setDefault(LoggerFactory) - Static method in class net.pwall.log.LoggerFactory
Set the default LoggerFactory.
setDefaultLevel(Level) - Method in class net.pwall.log.LoggerFactory
Set the default Level to be used by Logger instances created by this LoggerFactory.
setLevel(Level) - Method in class net.pwall.log.ConsoleLogger
Set the minimum level to be output by this ConsoleLogger.
setOutput(PrintStream) - Method in class net.pwall.log.ConsoleLoggerFactory
Set the output stream used by ConsoleLogger instances created by this ConsoleLoggerFactory.
setSeparator(char) - Method in class net.pwall.log.ConsoleLogger
Set the character separator used to format output messages.
Slf4jLogger - Class in net.pwall.log
A Logger that outputs to slf4j.
Slf4jLogger(String, Object) - Constructor for class net.pwall.log.Slf4jLogger
Create an Slf4jLogger with the specified name and underlying Logger object.
Slf4JLoggerException - Exception in net.pwall.log
An exception class to handle errors in accessing slf4j.
Slf4JLoggerException(Exception) - Constructor for exception net.pwall.log.Slf4JLoggerException
Create an Slf4JLoggerException with the supplied nested exception.

T

toList() - Method in class net.pwall.log.LogList
Get a copy of the list.
toString() - Method in class net.pwall.log.LogItem
Create a formatted form of the LogItem.
toString(char) - Method in class net.pwall.log.LogItem
Create a formatted form of the LogItem, using the specified separator.
trace(Object) - Method in class net.pwall.log.ConsoleLogger
Output a trace message.
trace(Object) - Method in class net.pwall.log.JavaLogger
Output a trace message.
trace(Object) - Method in interface net.pwall.log.Logger
Output a trace message.
trace(Supplier<Object>) - Method in interface net.pwall.log.Logger
Output a trace message supplied by a Supplier function.
trace(Object) - Method in class net.pwall.log.NullLogger
Ignore logging output.
trace(Supplier<Object>) - Method in class net.pwall.log.NullLogger
Ignore logging output.
trace(Object) - Method in class net.pwall.log.Slf4jLogger
Output a trace message.

V

valueOf(String) - Static method in enum net.pwall.log.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.pwall.log.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(Object) - Method in class net.pwall.log.ConsoleLogger
Output a warning message.
warn(Object) - Method in class net.pwall.log.JavaLogger
Output a warning message.
warn(Object) - Method in interface net.pwall.log.Logger
Output a warning message.
warn(Supplier<Object>) - Method in interface net.pwall.log.Logger
Output a warning message supplied by a Supplier function.
warn(Object) - Method in class net.pwall.log.NullLogger
Ignore logging output.
warn(Supplier<Object>) - Method in class net.pwall.log.NullLogger
Ignore logging output.
warn(Object) - Method in class net.pwall.log.Slf4jLogger
Output a warning message.
A C D E G I J L N P R S T V W 
Skip navigation links

Copyright © 2021. All rights reserved.