Skip navigation links
C D E F G I L M N S V W 

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.

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.

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.
Event - Class in me.legrange.log
A log entry
Event(String, Date, Level, Throwable) - Constructor for class me.legrange.log.Event
 
Event(String, Date, Level) - 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.

L

Level - Enum in me.legrange.log
A logging level
Log - Class in me.legrange.log
The log interface.
Log() - Constructor for class me.legrange.log.Log
 
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
 
LogControl - Class in me.legrange.log
The component used to control logging on an application-wide level
LogControl() - Constructor for class me.legrange.log.LogControl
 
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, String) - Constructor for class me.legrange.log.logger.NumberedExceptionLogger
 
NumberedExceptionLogger(Logger, PrintWriter) - Constructor for class me.legrange.log.logger.NumberedExceptionLogger
 

S

setDefaultLevel(Level) - Static method in class me.legrange.log.Log
Set the default logging level.
setDefaultLevel(Level) - Method in class me.legrange.log.LogControl
Set the default logging level.
setDefaultLogger(Logger) - Static method in class me.legrange.log.Log
Set the default application logger.
setDefaultLogger(Logger) - Method in class me.legrange.log.LogControl
Set the default application logger.
setLevel(Level) - Static method in class me.legrange.log.Log
Set the log level for the package calling the logger.
setLogger(Logger) - Static method in class me.legrange.log.Log
Set the logger for the package calling the logger.
setLogger(Logger) - Method in class me.legrange.log.LogControl
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.
C D E F G I L M N S V W 
Skip navigation links

Copyright © 2020. All rights reserved.