Skip navigation links
B C E F G I J L M N P R S V W 

B

build() - Method in class net.lenni0451.commons.logging.impl.FileLogger.Builder
 
build() - Method in class net.lenni0451.commons.logging.impl.SysoutLogger.Builder
 
build(String) - Method in interface net.lenni0451.commons.logging.LoggerFactory.Builder
Build a new logger with the given name.
build(Class<?>) - Method in interface net.lenni0451.commons.logging.LoggerFactory.Builder
Build a new logger for the given class.
builder() - Static method in class net.lenni0451.commons.logging.impl.FileLogger
 
Builder() - Constructor for class net.lenni0451.commons.logging.impl.FileLogger.Builder
 
builder() - Static method in class net.lenni0451.commons.logging.impl.SysoutLogger
 
Builder() - Constructor for class net.lenni0451.commons.logging.impl.SysoutLogger.Builder
 

C

close() - Method in class net.lenni0451.commons.logging.impl.FileLogger
 
CURLY_BRACKETS - Static variable in interface net.lenni0451.commons.logging.MessageFormat
 

E

error(String, Object...) - Method in class net.lenni0451.commons.logging.impl.JavaLogger
 
error(String, Object...) - Method in class net.lenni0451.commons.logging.impl.PrintStreamLogger
 
error(String, Object...) - Method in class net.lenni0451.commons.logging.impl.Slf4jLogger
 
error(String, Object...) - Method in interface net.lenni0451.commons.logging.Logger
Log a message with the level ERROR.
error(String, Object...) - Method in class net.lenni0451.commons.logging.special.LazyInitLogger
 
error(String, Object...) - Method in class net.lenni0451.commons.logging.special.MultiLogger
 
error(String, Object...) - Method in class net.lenni0451.commons.logging.special.NoOpLogger
 

F

file(File) - Method in class net.lenni0451.commons.logging.impl.FileLogger.Builder
The FileOutputStream where the log messages should be written to.
FileLogger - Class in net.lenni0451.commons.logging.impl
A Logger implementation that logs to a file.
FileLogger(FileOutputStream, String, MessageFormat) - Constructor for class net.lenni0451.commons.logging.impl.FileLogger
Create a new FileLogger instance.
FileLogger.Builder - Class in net.lenni0451.commons.logging.impl
 
fileOutputStream(FileOutputStream) - Method in class net.lenni0451.commons.logging.impl.FileLogger.Builder
The FileOutputStream where the log messages should be written to.
format(String, Object...) - Method in interface net.lenni0451.commons.logging.MessageFormat
Format a message with argument placeholders.

G

getArg(int, String) - Method in class net.lenni0451.commons.logging.MessageFormat.MessageArgs
 
getLogger(String) - Static method in class net.lenni0451.commons.logging.LoggerFactory
Get a new logger with the given name.
getLogger(Class<?>) - Static method in class net.lenni0451.commons.logging.LoggerFactory
Get a new logger for the given class.

I

info(String, Object...) - Method in class net.lenni0451.commons.logging.impl.JavaLogger
 
info(String, Object...) - Method in class net.lenni0451.commons.logging.impl.PrintStreamLogger
 
info(String, Object...) - Method in class net.lenni0451.commons.logging.impl.Slf4jLogger
 
info(String, Object...) - Method in interface net.lenni0451.commons.logging.Logger
Log a message with the level INFO.
info(String, Object...) - Method in class net.lenni0451.commons.logging.special.LazyInitLogger
 
info(String, Object...) - Method in class net.lenni0451.commons.logging.special.MultiLogger
 
info(String, Object...) - Method in class net.lenni0451.commons.logging.special.NoOpLogger
 

J

JavaLogger - Class in net.lenni0451.commons.logging.impl
A logger implementation that uses the Java Logger.
JavaLogger(String) - Constructor for class net.lenni0451.commons.logging.impl.JavaLogger
Create a new JavaLogger instance.
JavaLogger(String, MessageFormat) - Constructor for class net.lenni0451.commons.logging.impl.JavaLogger
Create a new JavaLogger instance.
JavaLogger(Logger) - Constructor for class net.lenni0451.commons.logging.impl.JavaLogger
Create a new JavaLogger instance.
JavaLogger(Logger, MessageFormat) - Constructor for class net.lenni0451.commons.logging.impl.JavaLogger
Create a new JavaLogger instance.

L

LazyInitLogger - Class in net.lenni0451.commons.logging.special
A Logger implementation that initializes the actual Logger only when it is needed.
LazyInitLogger(Supplier<Logger>) - Constructor for class net.lenni0451.commons.logging.special.LazyInitLogger
 
log(PrintStream, String, String, Object[]) - Method in class net.lenni0451.commons.logging.impl.FileLogger
 
log(PrintStream, String, String, Object[]) - Method in class net.lenni0451.commons.logging.impl.PrintStreamLogger
 
Logger - Interface in net.lenni0451.commons.logging
 
LoggerFactory - Class in net.lenni0451.commons.logging
The global logger factory to create new loggers.
LoggerFactory() - Constructor for class net.lenni0451.commons.logging.LoggerFactory
 
LoggerFactory.Builder - Interface in net.lenni0451.commons.logging
The builder to create new loggers.

M

MessageArgs() - Constructor for class net.lenni0451.commons.logging.MessageFormat.MessageArgs
 
messageFormat(MessageFormat) - Method in class net.lenni0451.commons.logging.impl.FileLogger.Builder
The argument format for the log message.
messageFormat(MessageFormat) - Method in class net.lenni0451.commons.logging.impl.SysoutLogger.Builder
The argument format for the log message.
MessageFormat - Interface in net.lenni0451.commons.logging
 
MessageFormat.MessageArgs - Class in net.lenni0451.commons.logging
 
MessageFormat.Result - Class in net.lenni0451.commons.logging
A formatted message with an optional throwable.
MultiLogger - Class in net.lenni0451.commons.logging.special
A Logger implementation that logs to multiple loggers at once.
MultiLogger(Logger...) - Constructor for class net.lenni0451.commons.logging.special.MultiLogger
 

N

name(String) - Method in class net.lenni0451.commons.logging.impl.SysoutLogger.Builder
The name of the Logger, will be displayed in the log message.
net.lenni0451.commons.logging - package net.lenni0451.commons.logging
 
net.lenni0451.commons.logging.impl - package net.lenni0451.commons.logging.impl
 
net.lenni0451.commons.logging.special - package net.lenni0451.commons.logging.special
 
NoOpLogger - Class in net.lenni0451.commons.logging.special
A Logger implementation that does nothing.
NoOpLogger() - Constructor for class net.lenni0451.commons.logging.special.NoOpLogger
 

P

prefix(String) - Method in class net.lenni0451.commons.logging.impl.FileLogger.Builder
The prefix for the log message.
printLevel(boolean) - Method in class net.lenni0451.commons.logging.impl.SysoutLogger.Builder
If the log level should be printed in the log message.
PrintStreamLogger - Class in net.lenni0451.commons.logging.impl
A Logger implementation that logs to a PrintStream.
PrintStreamLogger(PrintStream, String, MessageFormat) - Constructor for class net.lenni0451.commons.logging.impl.PrintStreamLogger
Create a new PrintStreamLogger instance.
PrintStreamLogger(Function<PrintStreamLogger.LogLevel, PrintStream>, String, MessageFormat) - Constructor for class net.lenni0451.commons.logging.impl.PrintStreamLogger
Create a new PrintStreamLogger instance.
PrintStreamLogger.LogLevel - Enum in net.lenni0451.commons.logging.impl
The log level of the log message.

R

Result() - Constructor for class net.lenni0451.commons.logging.MessageFormat.Result
 

S

setBuilder(LoggerFactory.Builder) - Static method in class net.lenni0451.commons.logging.LoggerFactory
Set the global logger builder.
Slf4jLogger - Class in net.lenni0451.commons.logging.impl
A logger implementation that uses the SLF4J logger.
Slf4jLogger(String) - Constructor for class net.lenni0451.commons.logging.impl.Slf4jLogger
Create a new Slf4jLogger instance.
Slf4jLogger(String, MessageFormat) - Constructor for class net.lenni0451.commons.logging.impl.Slf4jLogger
Create a new Slf4jLogger instance.
Slf4jLogger(Class<?>) - Constructor for class net.lenni0451.commons.logging.impl.Slf4jLogger
Create a new Slf4jLogger instance.
Slf4jLogger(Class<?>, MessageFormat) - Constructor for class net.lenni0451.commons.logging.impl.Slf4jLogger
Create a new Slf4jLogger instance.
Slf4jLogger(Logger) - Constructor for class net.lenni0451.commons.logging.impl.Slf4jLogger
Create a new Slf4jLogger instance.
Slf4jLogger(Logger, MessageFormat) - Constructor for class net.lenni0451.commons.logging.impl.Slf4jLogger
Create a new Slf4jLogger instance.
split(Object[]) - Static method in interface net.lenni0451.commons.logging.MessageFormat
Split logging arguments into message arguments and throwable.
STRING_FORMAT - Static variable in interface net.lenni0451.commons.logging.MessageFormat
 
SysoutLogger - Class in net.lenni0451.commons.logging.impl
A Logger implementation that logs to the System.out or System.err stream.
SysoutLogger(String, MessageFormat, SysoutLogger.OutStream, boolean) - Constructor for class net.lenni0451.commons.logging.impl.SysoutLogger
Create a new SysoutLogger instance.
SysoutLogger.Builder - Class in net.lenni0451.commons.logging.impl
 
SysoutLogger.OutStream - Enum in net.lenni0451.commons.logging.impl
The stream where the WARN messages should be printed to.
SYSTEM_PROPERTY - Static variable in class net.lenni0451.commons.logging.LoggerFactory
The system property to set the global logger builder.

V

valueOf(String) - Static method in enum net.lenni0451.commons.logging.impl.PrintStreamLogger.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.lenni0451.commons.logging.impl.SysoutLogger.OutStream
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.lenni0451.commons.logging.impl.PrintStreamLogger.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.lenni0451.commons.logging.impl.SysoutLogger.OutStream
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String, Object...) - Method in class net.lenni0451.commons.logging.impl.JavaLogger
 
warn(String, Object...) - Method in class net.lenni0451.commons.logging.impl.PrintStreamLogger
 
warn(String, Object...) - Method in class net.lenni0451.commons.logging.impl.Slf4jLogger
 
warn(String, Object...) - Method in interface net.lenni0451.commons.logging.Logger
Log a message with the level WARN.
warn(String, Object...) - Method in class net.lenni0451.commons.logging.special.LazyInitLogger
 
warn(String, Object...) - Method in class net.lenni0451.commons.logging.special.MultiLogger
 
warn(String, Object...) - Method in class net.lenni0451.commons.logging.special.NoOpLogger
 
warnStream(SysoutLogger.OutStream) - Method in class net.lenni0451.commons.logging.impl.SysoutLogger.Builder
The stream where the WARN messages should be printed to.
B C E F G I J L M N P R S V W 
Skip navigation links