Package | Description |
---|---|
sirius.kernel |
Provides the main setup classes for the SIRIUS kernel.
|
sirius.kernel.async |
Provides a framework for asynchronous execution of given tasks.
|
sirius.kernel.cache |
Provides a framework for building and using caches.
|
sirius.kernel.commons |
Provides common classes used by large parts of the framework.
|
sirius.kernel.di |
Contains the micro kernel for the discovery based programming framework.
|
sirius.kernel.health |
Provides tools to record the system state and to log and handle exceptions.
|
sirius.kernel.nls |
Native language support used by SIRIUS.
|
sirius.kernel.settings |
Provides a wrapper around the typesafe config
library.
|
sirius.kernel.timer |
Support for executing tasks in regular intervals.
|
Modifier and Type | Field and Description |
---|---|
static Log |
Sirius.DEBUG
This debug logger will be logging all messages when
Sirius.isDev() is true. |
protected static Log |
Sirius.LOG |
protected static Log |
Classpath.LOG
Logger used to log problems when scanning the classpath
|
Modifier and Type | Field and Description |
---|---|
protected static Log |
Tasks.LOG |
Modifier and Type | Method and Description |
---|---|
Promise<V> |
Promise.handleErrors(Log log)
Adds an error handler, which handles failures by logging them to the given
Log
By default, if no explicit completion handler is present, all failures are logged using the async
logger. |
Modifier and Type | Field and Description |
---|---|
protected static Log |
CacheManager.LOG
Logged used by the caching system
|
Modifier and Type | Field and Description |
---|---|
static Log |
Exec.LOG
Can be used to log errors and infos when executing external programs.
|
Modifier and Type | Field and Description |
---|---|
static Log |
Injector.LOG
Logger used by the injection framework.
|
Modifier and Type | Field and Description |
---|---|
protected static Log |
Exceptions.DEPRECATION_LOG
Used to log warnings if deprecated APIs are called.
|
protected static Log |
Exceptions.IGNORED_EXCEPTIONS_LOG
Used to log exceptions which are normally just discarded.
|
protected static Log |
Exceptions.LOG
Used as a fallback logger, if no logger was provided.
|
Modifier and Type | Method and Description |
---|---|
static Log |
Log.get(String name)
Generates a new logger with the given name
The given name should be short and simple.
|
Log |
LogMessage.getReceiver()
Returns the logger used to handle this message.
|
Modifier and Type | Method and Description |
---|---|
static List<Log> |
Log.getAllLoggers()
Returns a list of all known loggers.
|
Modifier and Type | Method and Description |
---|---|
static HandledException |
Exceptions.handle(Log log,
Throwable e)
Boilerplate method the directly handle the given exception without a special message
|
Exceptions.ErrorHandler |
Exceptions.ErrorHandler.to(Log log)
Specifies the logger which is used to log the generated exception.
|
Constructor and Description |
---|
LogMessage(String message,
org.apache.log4j.Level logLevel,
Log receiver,
boolean receiverWouldLog,
String thread)
Creates a new log message based on the given parameters.
|
Modifier and Type | Field and Description |
---|---|
protected static Log |
Babelfish.LOG
Logs WARN messages if translations are inconsistent (override each other).
|
Modifier and Type | Field and Description |
---|---|
protected static Log |
Extension.LOG |
Modifier and Type | Field and Description |
---|---|
protected static Log |
Timers.LOG |
Copyright © 2018. All rights reserved.