Index

A C D E F G I J L M N S T V W 
All Classes and Interfaces|All Packages

A

accept(Event) - Method in interface simpleloglib.Filter
Accept an event or not.
append(Collection<Event>, Layout) - Method in interface simpleloglib.Appender
Append a collection of events to the target.
append(Event, Layout) - Method in interface simpleloglib.Appender
Append an event to the target.
Appender - Interface in simpleloglib
An Appender is a component that can append events to a output target.
AppenderFactory - Class in simpleloglib.appenders
Appender factory for implementations provided by this library.
AppenderFactory() - Constructor for class simpleloglib.appenders.AppenderFactory
 

C

Column - Class in simpleloglib.appenders
This class represents a column in the database.
Column(String, int) - Constructor for class simpleloglib.appenders.Column
 
Config - Class in simpleloglib
Main cofiguration class.
ConnectionFactory - Interface in simpleloglib.appenders
Interface intended provide a connection to the database.

D

debug(String) - Method in interface simpleloglib.Logger
 
debug(Throwable) - Method in interface simpleloglib.Logger
 
debug(Message) - Method in interface simpleloglib.Logger
 
DEBUG - Enum constant in enum class simpleloglib.Level
Debug level for detailed information.
DefaultConnectionFactory - Class in simpleloglib.appenders
Default implementation of ConnectionFactory.
DefaultConnectionFactory(String) - Constructor for class simpleloglib.appenders.DefaultConnectionFactory
 

E

error(String) - Method in interface simpleloglib.Logger
 
error(Throwable) - Method in interface simpleloglib.Logger
 
error(Message) - Method in interface simpleloglib.Logger
 
ERROR - Enum constant in enum class simpleloglib.Level
Error level for not fatal errors.
Event - Interface in simpleloglib
An event is a log message with useful information about it, like timestamp, logger name and level.
EventFactory - Class in simpleloglib.events
Utility class to create events.
EventFactory() - Constructor for class simpleloglib.events.EventFactory
 

F

fatal(String) - Method in interface simpleloglib.Logger
 
fatal(Throwable) - Method in interface simpleloglib.Logger
 
fatal(Message) - Method in interface simpleloglib.Logger
 
FATAL - Enum constant in enum class simpleloglib.Level
Fatal level for fatal errors.
Filter - Interface in simpleloglib
Filters are used to filter events based on their level.
FilterFactory - Class in simpleloglib.filters
Utilities to create a Filter based on a threshold level.
FilterFactory() - Constructor for class simpleloglib.filters.FilterFactory
 
format(Event) - Method in interface simpleloglib.Layout
Format the event.

G

getConnection() - Method in interface simpleloglib.appenders.ConnectionFactory
 
getConnection() - Method in class simpleloglib.appenders.DefaultConnectionFactory
 
getDefaultFilter(Level) - Static method in class simpleloglib.filters.FilterFactory
 
getDefaultInstance(String) - Static method in class simpleloglib.appenders.AppenderFactory
Retrieves an Appender that writes to the console
getDefaultInstance(String) - Static method in class simpleloglib.layouts.LayoutFactory
 
getDefaultInstance(String, Object...) - Static method in class simpleloglib.messages.MsgFactory
 
getDefaultInstance(Throwable, String, Level, Message, OffsetDateTime, Logger) - Static method in class simpleloglib.events.EventFactory
 
getFileAppender(String, String) - Static method in class simpleloglib.appenders.AppenderFactory
Retrieves an Appender that writes to a file
getFormattedMessage() - Method in interface simpleloglib.Message
 
getHttpAppender(String, String, String) - Static method in class simpleloglib.appenders.AppenderFactory
Experimental
getJDBCAppender(String, JDBCAppenderConfig) - Static method in class simpleloglib.appenders.AppenderFactory
Retrieves an Appender that persists log events in a relational database
getLogger(Class<?>) - Static method in class simpleloglib.loggers.LogManager
 

I

index() - Method in class simpleloglib.appenders.Column
Gets the index of the column.
info(String) - Method in interface simpleloglib.Logger
 
info(Throwable) - Method in interface simpleloglib.Logger
 
info(Message) - Method in interface simpleloglib.Logger
 
INFO - Enum constant in enum class simpleloglib.Level
Info level for general information.

J

JDBCAppenderConfig - Class in simpleloglib.appenders
This class is used to configure the JDBC appender.
JDBCAppenderConfig() - Constructor for class simpleloglib.appenders.JDBCAppenderConfig
 

L

Layout - Interface in simpleloglib
Layouts are used to format events before they are pushed to the output.
LayoutFactory - Class in simpleloglib.layouts
Utility class to create layouts.
LayoutFactory() - Constructor for class simpleloglib.layouts.LayoutFactory
 
level() - Method in interface simpleloglib.Event
Get the level associated with this event.
Level - Enum Class in simpleloglib
Log levels.
loadFromTemplate(ConfigTemplate) - Method in class simpleloglib.Config
 
logger() - Method in interface simpleloglib.Event
Get the logger associated with this event.
Logger - Interface in simpleloglib
Loggers are used by the user to log events.
LogManager - Class in simpleloglib.loggers
Utility class to create loggers.
LogManager() - Constructor for class simpleloglib.loggers.LogManager
 

M

message() - Method in interface simpleloglib.Event
Get the message associated with this event.
Message - Interface in simpleloglib
A message is an object that represents a log message.
MsgFactory - Class in simpleloglib.messages
Utility class to create messages.
MsgFactory() - Constructor for class simpleloglib.messages.MsgFactory
 

N

name() - Method in interface simpleloglib.Appender
Get the name of the Appender.
name() - Method in class simpleloglib.appenders.Column
Gets the name of the column.
name() - Method in interface simpleloglib.Logger
 

S

setFilter(Filter) - Method in interface simpleloglib.Appender
Set the filter for the target.
setter() - Method in class simpleloglib.appenders.Column
Gets the setter of the column.
setupDataSource(String) - Method in class simpleloglib.appenders.DefaultConnectionFactory
 
shutdown() - Method in class simpleloglib.Config
 
simpleloglib - package simpleloglib
 
simpleloglib.appenders - package simpleloglib.appenders
 
simpleloglib.events - package simpleloglib.events
 
simpleloglib.filters - package simpleloglib.filters
 
simpleloglib.layouts - package simpleloglib.layouts
 
simpleloglib.loggers - package simpleloglib.loggers
 
simpleloglib.messages - package simpleloglib.messages
 
SINGLETON - Static variable in class simpleloglib.Config
Singleton instance.
slq() - Method in class simpleloglib.appenders.JDBCAppenderConfig
 

T

threadName() - Method in interface simpleloglib.Event
Get the name of the thread associated with this event.
throwable() - Method in interface simpleloglib.Event
Get the throwable associated with this event.
timestamp() - Method in interface simpleloglib.Event
Get the timestamp associated with this event.
toString() - Method in class simpleloglib.appenders.Column
 
toString() - Method in class simpleloglib.appenders.DefaultConnectionFactory
 
trace(String) - Method in interface simpleloglib.Logger
 
trace(Throwable) - Method in interface simpleloglib.Logger
 
trace(Message) - Method in interface simpleloglib.Logger
 
TRACE - Enum constant in enum class simpleloglib.Level
Trace level for really detailed information.

V

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

W

warn(String) - Method in interface simpleloglib.Logger
 
warn(Throwable) - Method in interface simpleloglib.Logger
 
warn(Message) - Method in interface simpleloglib.Logger
 
WARN - Enum constant in enum class simpleloglib.Level
Warn level for warnings.
A C D E F G I J L M N S T V W 
All Classes and Interfaces|All Packages