|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.log.impl.AbstractLoggingMechanism
org.openmdx.kernel.log.slf4j.SLF4JLoggingMechanism
public class SLF4JLoggingMechanism
This logging mechanism delegates to SLF4J.
| Field Summary | |
|---|---|
protected static int |
NULL
|
| Fields inherited from class org.openmdx.kernel.log.impl.AbstractLoggingMechanism |
|---|
OPEN_DATE_FORMAT |
| Constructor Summary | |
|---|---|
protected |
SLF4JLoggingMechanism()
Constructor |
| Method Summary | |
|---|---|
boolean |
acceptsStatisticLogs()
This mechanism accepts statistics logs |
static AbstractLoggingMechanism |
getInstance()
Returns the mechanism object. |
protected int |
getLogLevel(Logger logger,
Marker marker,
int level)
Maps an openMDX level to a LocationAwareLogger Level
ERROR ← CRITICAL_ERROR
ERROR ← ERROR
WARN ← WARNING
INFO ← INFO
DEBUG ⇆ DETAIL
TRACE ⇆ TRACE
INFO ← PERFORMANCE
INFO ← STATISTIC
INFO ← NOTIFICATION
|
String |
getName()
Returns the name of the mechanism. |
protected void |
logEvent(Log log,
LogEvent event)
Logs a log event. |
| Methods inherited from class org.openmdx.kernel.log.impl.AbstractLoggingMechanism |
|---|
acceptsNotificationLogs, acceptsPerformanceLogs, acceptsStandardLogs, close, createFormatter, createNotificationEvent, getActiveEntities, getDateOpend, getFormatter, getLoggers, getReadableEntities, getReader, getRemoveableEntities, isOpen, isSharedLog, notifyLogClosed, notifyLoggingLevelChange, notifyLoggingPerformanceChange, notifyLoggingStatisticsChange, notifyLogOpened, open, removeEntity, setFormatter, setNotification, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static int NULL
| Constructor Detail |
|---|
protected SLF4JLoggingMechanism()
| Method Detail |
|---|
public static AbstractLoggingMechanism getInstance()
public String getName()
getName in class AbstractLoggingMechanismpublic boolean acceptsStatisticLogs()
acceptsStatisticLogs in class AbstractLoggingMechanism
protected void logEvent(Log log,
LogEvent event)
logEvent in class AbstractLoggingMechanismlog - A loggerevent - A log event
protected int getLogLevel(Logger logger,
Marker marker,
int level)
LocationAwareLogger Level
level - the openMDX log level
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||