C D E F G I L M N S V W 
All Classes All Packages

C

code() - Method in enum me.legrange.log.Level
 
ConsoleLogger - Class in me.legrange.log.logger
A basic logger implementation that prints to System.out, with exceptions going to System.err
ConsoleLogger() - Constructor for class me.legrange.log.logger.ConsoleLogger
 
critical(String, Object...) - Static method in class me.legrange.log.Log
Log critical event.
critical(Throwable) - Static method in class me.legrange.log.Log
Log an exception as a critical error.
critical(Throwable, String, Object...) - Static method in class me.legrange.log.Log
Log an exception as a critical error.
CRITICAL - me.legrange.log.Level
 

D

debug(String, Object...) - Static method in class me.legrange.log.Log
Log debug event.
debug(Supplier<String>) - Static method in class me.legrange.log.Log
Log a debug event, while avoiding any expensive code unless the logging occurs.
DEBUG - me.legrange.log.Level
 

E

error(String, Object...) - Static method in class me.legrange.log.Log
Log error event.
error(Throwable) - Static method in class me.legrange.log.Log
Log an exception as an error.
error(Throwable, String, Object...) - Static method in class me.legrange.log.Log
Log an exception as an error.
ERROR - me.legrange.log.Level
 
Event - Class in me.legrange.log
A log entry
Event(String, Date, Level) - Constructor for class me.legrange.log.Event
 
Event(String, Date, Level, Throwable) - Constructor for class me.legrange.log.Event
 

F

FileLogger - Class in me.legrange.log.logger
 
FileLogger(String) - Constructor for class me.legrange.log.logger.FileLogger
 

G

getLevel() - Method in class me.legrange.log.Event
Get the log level at which this event is logged
getMessage() - Method in class me.legrange.log.Event
Get the logged message
getName() - Method in class me.legrange.log.logger.FileLogger
 
getName() - Method in interface me.legrange.log.Logger
Return the logger name
getThrowable() - Method in class me.legrange.log.Event
Get the exception associated with this event if there is one.
getTimestamp() - Method in class me.legrange.log.Event
Get the timestamp of the logged event

I

info(String, Object...) - Static method in class me.legrange.log.Log
Log informational event.
INFO - me.legrange.log.Level
 

L

Level - Enum in me.legrange.log
A logging level
log(Event) - Method in class me.legrange.log.logger.ConsoleLogger
 
log(Event) - Method in class me.legrange.log.logger.FileLogger
 
log(Event) - Method in interface me.legrange.log.Logger
Log a message with the given level
log(Event) - Method in class me.legrange.log.logger.NumberedExceptionLogger
 
Log - Class in me.legrange.log
The log interface.
Log() - Constructor for class me.legrange.log.Log
 
Logger - Interface in me.legrange.log
A logger that logs in a specific way.
LoggerException - Exception in me.legrange.log.logger
 
LoggerException(String) - Constructor for exception me.legrange.log.logger.LoggerException
 
LoggerException(String, Throwable) - Constructor for exception me.legrange.log.logger.LoggerException
 

M

me.legrange.log - package me.legrange.log
 
me.legrange.log.logger - package me.legrange.log.logger
 

N

NumberedExceptionLogger - Class in me.legrange.log.logger
A logger implementation that numbers exceptions and logs them with the number to another logger, while writing the stack trace to a file.
NumberedExceptionLogger(Logger, PrintWriter) - Constructor for class me.legrange.log.logger.NumberedExceptionLogger
 
NumberedExceptionLogger(Logger, String) - Constructor for class me.legrange.log.logger.NumberedExceptionLogger
 

S

setDefaultLevel(Level) - Static method in class me.legrange.log.Log
Set the default logging level.
setDefaultLogger(Logger) - Static method in class me.legrange.log.Log
Set the default application logger.
setLevel(String, Level) - Static method in class me.legrange.log.Log
Set the log level for the given name.
setLevel(Level) - Static method in class me.legrange.log.Log
Set the log level for the package calling the logger.
setLogger(String, Logger) - Static method in class me.legrange.log.Log
Set the logger for the given name.
setLogger(Logger) - Static method in class me.legrange.log.Log
Set the logger for the package calling the logger.

V

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

W

warning(String, Object...) - Static method in class me.legrange.log.Log
Log warning event.
warning(Throwable) - Static method in class me.legrange.log.Log
Log an exception as a warning.
warning(Throwable, String, Object...) - Static method in class me.legrange.log.Log
Log an exception as a warning.
WARNING - me.legrange.log.Level
 
C D E F G I L M N S V W 
All Classes All Packages