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