Interface JacksonLogger
-
- All Known Implementing Classes:
JacksonLogger_$logger
@MessageLogger(projectCode="RESTEASY-JACKSON") public interface JacksonLogger
- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static JacksonLogger
LOGGER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
cannotDeserialize()
Returns a message indicating the data could not be deserialized.void
logCannotDeserialize(Throwable cause)
Logs a message indicating the data could not be deserialized.
-
-
-
Field Detail
-
LOGGER
static final JacksonLogger LOGGER
-
-
Method Detail
-
cannotDeserialize
@Message(id=0, value="Not able to deserialize data provided.") String cannotDeserialize()
Returns a message indicating the data could not be deserialized.- Returns:
- a message indicating the data could not be deserialized
-
logCannotDeserialize
@LogMessage(level=ERROR) @Message(id=100, value="Not able to deserialize data provided") void logCannotDeserialize(@Cause Throwable cause)
Logs a message indicating the data could not be deserialized.- Parameters:
cause
- the cause of the error
-
-