public final class ObjectArrayMessage extends Objectimplements Message
Created for use with the CSV layout. For example:
logger.debug(new ObjectArrayMessage(1, 2, "Bob"));
| Constructor and Description |
|---|
ObjectArrayMessage(Object
Creates the ObjectMessage.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object
|
String |
getFormat()
Returns the object formatted using its toString method.
|
String |
getFormattedMessage()
Returns the formatted object message.
|
Object |
getParameters()
Returns the object as if it were a parameter.
|
Throwable |
getThrowable()
Returns null.
|
int |
hashCode()
|
String |
toString()
|
public ObjectArrayMessage(Object... obj)
obj - The Object to format.
public boolean equals(Objecto)
public StringgetFormat()
public StringgetFormattedMessage()
getFormattedMessage in interface
Message
public Object[] getParameters()
getParameters in interface
Message
public ThrowablegetThrowable()
getThrowable in interface
Message
public int hashCode()
public StringtoString()