public static interface WrapperGenerator.Extension
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLoggerName(java.lang.Class<?> cls)
Modify the default logger name if needed.
|
java.lang.String |
getLogId(java.lang.reflect.Method method)
Get a message id for this log.
|
java.lang.Throwable |
makeException(java.lang.String msg,
java.lang.reflect.Method method)
Construct an exception from the message and the exception type.
|
java.lang.String getLogId(java.lang.reflect.Method method)
method - The method defining this log.java.lang.Throwable makeException(java.lang.String msg,
java.lang.reflect.Method method)
msg - The message to use in the exception.method - The method creating the exception.java.lang.String getLoggerName(java.lang.Class<?> cls)
cls - The standard logger name