Package com.restfb.logging
Klasse SLF4JLogger
java.lang.Object
com.restfb.logging.RestFBLogger
com.restfb.logging.SLF4JLogger
Logger implementation based on
org.slf4j.Logger
.
The slf4j configuration should be provided by a external application. The mapping is defined like:
- trace maps to slf4j.trace
- debug maps to slf4j.debug
- info maps to slf4j.info
- warn maps to slf4j.warn
- error maps to slf4j.error
- fatal maps to slf4j.fatal
-
Feldübersicht
Von Klasse geerbte Felder com.restfb.logging.RestFBLogger
CLIENT_LOGGER, HTTP_LOGGER, MAPPER_LOGGER, UTILS_LOGGER, VALUE_FACTORY_LOGGER
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Log a message at the DEBUG level according to the specified format and arguments.void
Log a message at the ERROR level according to the specified format and arguments.void
Log a message at the FATAL level according to the specified format and arguments.void
Log a message at the INFO level according to the specified format and arguments.boolean
Is the logger instance enabled for the DEBUG level?boolean
Is the logger instance enabled for the INFO level?boolean
Is the logger instance enabled for the TRACE level?void
Log a message at the TRACE level according to the specified format and arguments.void
Log a message at the WARN level according to the specified format and arguments.Von Klasse geerbte Methoden com.restfb.logging.RestFBLogger
getLoggerInstance
-
Konstruktordetails
-
SLF4JLogger
-
-
Methodendetails
-
trace
Beschreibung aus Klasse kopiert:RestFBLogger
Log a message at the TRACE level according to the specified format and arguments.- Angegeben von:
trace
in KlasseRestFBLogger
- Parameter:
msg
- the log messageargs
- optional arguments, the last argument may be an exception
-
debug
Beschreibung aus Klasse kopiert:RestFBLogger
Log a message at the DEBUG level according to the specified format and arguments.- Angegeben von:
debug
in KlasseRestFBLogger
- Parameter:
msg
- the log messageargs
- optional arguments, the last argument may be an exception
-
info
Beschreibung aus Klasse kopiert:RestFBLogger
Log a message at the INFO level according to the specified format and arguments.- Angegeben von:
info
in KlasseRestFBLogger
- Parameter:
msg
- the log messageargs
- optional arguments, the last argument may be an exception
-
warn
Beschreibung aus Klasse kopiert:RestFBLogger
Log a message at the WARN level according to the specified format and arguments.- Angegeben von:
warn
in KlasseRestFBLogger
- Parameter:
msg
- the log messageargs
- optional arguments, the last argument may be an exception
-
error
Beschreibung aus Klasse kopiert:RestFBLogger
Log a message at the ERROR level according to the specified format and arguments.- Angegeben von:
error
in KlasseRestFBLogger
- Parameter:
msg
- the log messageargs
- optional arguments, the last argument may be an exception
-
fatal
Beschreibung aus Klasse kopiert:RestFBLogger
Log a message at the FATAL level according to the specified format and arguments.- Angegeben von:
fatal
in KlasseRestFBLogger
- Parameter:
msg
- the log messageargs
- optional arguments, the last argument may be an exception
-
isDebugEnabled
Beschreibung aus Klasse kopiert:RestFBLogger
Is the logger instance enabled for the DEBUG level?- Angegeben von:
isDebugEnabled
in KlasseRestFBLogger
- Gibt zurück:
true
if it is enabled,false
otherwise
-
isInfoEnabled
Beschreibung aus Klasse kopiert:RestFBLogger
Is the logger instance enabled for the INFO level?- Angegeben von:
isInfoEnabled
in KlasseRestFBLogger
- Gibt zurück:
true
if it is enabled,false
otherwise
-
isTraceEnabled
Beschreibung aus Klasse kopiert:RestFBLogger
Is the logger instance enabled for the TRACE level?- Angegeben von:
isTraceEnabled
in KlasseRestFBLogger
- Gibt zurück:
true
if it is enabled,false
otherwise
-