public class Simple extends AbstractLogFormatter
mProgram, mStack
Constructor and Description |
---|
Simple()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
LogFormatter |
add(java.lang.String value)
Add to the log message with just a value.
|
void |
addEvent(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> map)
Adds the event that is to be associated with the log messages onto an
internal stack
|
void |
addEvent(java.lang.String name,
java.lang.String entityName,
java.lang.String entityID)
Adds the event that is to be associated with the log messages onto an
internal stack
|
add, createEntityHierarchyMessage, createLogMessage, createLogMessageAndReset, getEndEventMessage, getEventName, getProgramName, getStartEventMessage, popEvent, setProgramName
public LogFormatter add(java.lang.String value)
add
in interface LogFormatter
add
in class AbstractLogFormatter
value
- public void addEvent(java.lang.String name, java.lang.String entityName, java.lang.String entityID)
addEvent
in interface LogFormatter
addEvent
in class AbstractLogFormatter
name
- the name of the event to be associatedentityName
- the primary entity that is associated with the event e.g. workflowentityID
- the id of that entity.public void addEvent(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> map)
name
- the name of the event to be associatedmap
- Map indexed by entity name . The values is corresponding
EntityID