public interface EELFLogger
extends org.slf4j.Logger
It defines the convenience methods that are available to the application to log messages based on the string or a key in the resource bundle(s).
| Modifier and Type | Interface and Description |
|---|---|
static class |
EELFLogger.Level |
| Modifier and Type | Method and Description |
|---|---|
void |
applicationEvent(EELFLogger.Level level,
String msg,
Object... arguments)
Deprecated.
|
void |
applicationEvent(String msg,
Object... arguments)
Deprecated.
|
void |
auditEvent(EELFLogger.Level level,
String msg,
Object... arguments)
Deprecated.
|
void |
auditEvent(String msg,
Object... arguments)
Deprecated.
|
void |
debug(EELFResolvableResourceEnum resource,
String... arguments)
Log a debug message based on message key as defined in resource bundle
with arguments.
|
void |
debug(EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a debug message based on message key as defined in resource bundle
along with exception.
|
void |
debug(Locale locale,
EELFResolvableResourceEnum resource,
String... arguments)
Log a debug message based on message key as defined in resource bundle
for the given locale.
|
void |
debug(Locale locale,
EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a debug message based on message key as defined in resource bundle
for the given locale along with exception.
|
void |
disableLogging()
Turn off the logging for the logger
|
void |
error(EELFResolvableResourceEnum resource,
String... arguments)
Log a error message based on message key as defined in resource bundle
with arguments.
|
void |
error(EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a error message based on message key as defined in resource bundle
along with exception.
|
void |
error(Locale locale,
EELFResolvableResourceEnum resource,
String... arguments)
Log a error message based on message key as defined in resource bundle
for the given locale.
|
void |
error(Locale locale,
EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a error message based on message key as defined in resource bundle
for the given locale along with exception.
|
void |
info(EELFResolvableResourceEnum resource,
String... arguments)
Log a info message based on message key as defined in resource bundle
with arguments.
|
void |
info(EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a info message based on message key as defined in resource bundle
along with exception.
|
void |
info(Locale locale,
EELFResolvableResourceEnum resource,
String... arguments)
Log a info message based on message key as defined in resource bundle for
the given locale.
|
void |
info(Locale locale,
EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a info message based on message key as defined in resource bundle for
the given locale along with exception.
|
void |
log(EELFLogger.Level level,
String msg,
Throwable th,
Object... arguments)
Log a message or exception with arguments if the argument list is
provided
|
void |
metricsEvent(EELFLogger.Level level,
String msg,
Object... arguments)
Deprecated.
|
void |
metricsEvent(String msg,
Object... arguments)
Deprecated.
|
void |
performanceEvent(EELFLogger.Level level,
String msg,
Object... arguments)
Deprecated.
|
void |
performanceEvent(String msg,
Object... arguments)
Deprecated.
|
void |
policyEvent(EELFLogger.Level level,
String msg,
Object... arguments)
Deprecated.
|
void |
policyEvent(String msg,
Object... arguments)
Deprecated.
|
void |
securityEvent(EELFLogger.Level level,
String msg,
Object... arguments)
Deprecated.
|
void |
securityEvent(String msg,
Object... arguments)
Deprecated.
|
void |
serverEvent(EELFLogger.Level level,
String msg,
Object... arguments)
Deprecated.
|
void |
serverEvent(String msg,
Object... arguments)
Deprecated.
|
void |
setLevel(EELFLogger.Level level)
Change the logging level for the logger
|
void |
trace(EELFResolvableResourceEnum resource,
String... arguments)
Log a trace message based on message key as defined in resource bundle
with arguments.
|
void |
trace(EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a trace message based on message key as defined in resource bundle
along with exception.
|
void |
trace(Locale locale,
EELFResolvableResourceEnum resource,
String... arguments)
Log a trace message based on message key as defined in resource bundle
for the given locale.
|
void |
trace(Locale locale,
EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a trace message based on message key as defined in resource bundle
for the given locale along with exception.
|
void |
warn(EELFResolvableResourceEnum resource,
String... arguments)
Log a warn message based on message key as defined in resource bundle
with arguments.
|
void |
warn(EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a warn message based on message key as defined in resource bundle
along with exception.
|
void |
warn(Locale locale,
EELFResolvableResourceEnum resource,
String... arguments)
Log a warn message based on message key as defined in resource bundle for
the given locale.
|
void |
warn(Locale locale,
EELFResolvableResourceEnum resource,
Throwable th,
String... arguments)
Log a warn message based on message key as defined in resource bundle for
the given locale along with exception.
|
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warnvoid log(EELFLogger.Level level, String msg, Throwable th, Object... arguments)
If the logger is currently enabled for the given message level then the given message is forwarded to all the registered output Handler objects.
level - One of the message level identifiers, e.g., SEVEREmsg - the message string to be loggedth - the exception (throwable) to logarguments - list of arguments for message@Deprecated void auditEvent(String msg, Object... arguments)
msg - the message string to be loggedarguments - list of arguments for message@Deprecated void auditEvent(EELFLogger.Level level, String msg, Object... arguments)
level - One of the message level identifiers, e.g., WARNmsg - the message string to be loggedarguments - list of arguments for message@Deprecated void metricsEvent(String msg, Object... arguments)
msg - the message string to be loggedarguments - list of arguments for message@Deprecated void metricsEvent(EELFLogger.Level level, String msg, Object... arguments)
level - One of the message level identifiers, e.g., WARNmsg - the message string to be loggedarguments - list of arguments for message@Deprecated void securityEvent(String msg, Object... arguments)
msg - the message string to be loggedarguments - list of arguments for message@Deprecated void securityEvent(EELFLogger.Level level, String msg, Object... arguments)
level - One of the message level identifiers, e.g., WARNmsg - the message string to be loggedarguments - list of arguments for message@Deprecated void performanceEvent(String msg, Object... arguments)
msg - the message string to be loggedarguments - list of arguments for message@Deprecated void performanceEvent(EELFLogger.Level level, String msg, Object... arguments)
level - One of the message level identifiers, e.g., WARNmsg - the message string to be loggedarguments - list of arguments for message@Deprecated void applicationEvent(String msg, Object... arguments)
msg - the message string to be loggedarguments - list of arguments for message@Deprecated void applicationEvent(EELFLogger.Level level, String msg, Object... arguments)
level - One of the message level identifiers, e.g., WARNmsg - the message string to be loggedarguments - list of arguments for message@Deprecated void serverEvent(String msg, Object... arguments)
msg - the message string to be loggedarguments - list of arguments for message@Deprecated void serverEvent(EELFLogger.Level level, String msg, Object... arguments)
level - One of the message level identifiers, e.g., WARNmsg - the message string to be loggedarguments - list of arguments for message@Deprecated void policyEvent(String msg, Object... arguments)
msg - the message string to be loggedarguments - list of arguments for message@Deprecated void policyEvent(EELFLogger.Level level, String msg, Object... arguments)
level - One of the message level identifiers, e.g., WARNmsg - the message string to be loggedarguments - list of arguments for messagevoid warn(Locale locale, EELFResolvableResourceEnum resource, Throwable th, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid info(Locale locale, EELFResolvableResourceEnum resource, Throwable th, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid debug(Locale locale, EELFResolvableResourceEnum resource, Throwable th, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid error(Locale locale, EELFResolvableResourceEnum resource, Throwable th, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid trace(Locale locale, EELFResolvableResourceEnum resource, Throwable th, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid warn(Locale locale, EELFResolvableResourceEnum resource, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedarguments - list of arguments for messagevoid info(Locale locale, EELFResolvableResourceEnum resource, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedarguments - list of arguments for messagevoid debug(Locale locale, EELFResolvableResourceEnum resource, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedarguments - list of arguments for messagevoid error(Locale locale, EELFResolvableResourceEnum resource, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedarguments - list of arguments for messagevoid trace(Locale locale, EELFResolvableResourceEnum resource, String... arguments)
locale - the locale that we want to load the resource forresource - identifies the resource to be usedarguments - list of arguments for messagevoid warn(EELFResolvableResourceEnum resource, String... arguments)
resource - identifies the resource to be usedarguments - list of arguments for messagevoid info(EELFResolvableResourceEnum resource, String... arguments)
resource - identifies the resource to be usedarguments - list of arguments for messagevoid debug(EELFResolvableResourceEnum resource, String... arguments)
resource - identifies the resource to be usedarguments - list of arguments for messagevoid error(EELFResolvableResourceEnum resource, String... arguments)
resource - identifies the resource to be usedarguments - list of arguments for messagevoid trace(EELFResolvableResourceEnum resource, String... arguments)
resource - identifies the resource to be usedarguments - list of arguments for messagevoid warn(EELFResolvableResourceEnum resource, Throwable th, String... arguments)
resource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid info(EELFResolvableResourceEnum resource, Throwable th, String... arguments)
resource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid debug(EELFResolvableResourceEnum resource, Throwable th, String... arguments)
resource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid error(EELFResolvableResourceEnum resource, Throwable th, String... arguments)
resource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid trace(EELFResolvableResourceEnum resource, Throwable th, String... arguments)
resource - identifies the resource to be usedth - the exception (throwable) to logarguments - list of arguments for messagevoid setLevel(EELFLogger.Level level)
level - One of the message level identifiers, e.g., WARNvoid disableLogging()
Copyright © 2019. All rights reserved.