public class Loggable extends Object
Constructor and Description |
---|
Loggable(Level level,
String id,
Object[] args,
Logger logger)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get the message id.
|
String |
getMessage()
Get the message in current locale with [subsytem:id] prefix.
|
String |
getMessageBody()
Gets the contents of the message body without appending a stack trace.
|
String |
getMessageText()
Get the message in current locale, no prefix.
|
String |
log()
Log the message.
|
public String log()
public String getMessageBody()
public String getMessage()
public String getMessageText()
public String getId()
Copyright © 2018. All rights reserved.