edu.isi.pegasus.common.logging.format
Class Netlogger
java.lang.Object
edu.isi.pegasus.common.logging.format.AbstractLogFormatter
edu.isi.pegasus.common.logging.format.Netlogger
- All Implemented Interfaces:
- LogFormatter
public class Netlogger
- extends AbstractLogFormatter
This formatter formats the messages in the netlogger format.
- Version:
- $Revision: 2003 $
- Author:
- Karan Vahi, Gaurang Mehta
|
Constructor Summary |
Netlogger()
The default constructor. |
|
Method Summary |
void |
addEvent(String name,
Map<String,String> map)
Adds the event that is to be associated with the log messages onto an
internal stack |
void |
addEvent(String name,
String entityName,
String entityID)
Adds the event that is to be associated with the log messages onto an
internal stack |
| Methods inherited from class edu.isi.pegasus.common.logging.format.AbstractLogFormatter |
add, add, createEntityHierarchyMessage, createLogMessage, createLogMessageAndReset, getEndEventMessage, getEventName, getProgramName, getStartEventMessage, popEvent, setProgramName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Netlogger
public Netlogger()
- The default constructor.
addEvent
public void addEvent(String name,
String entityName,
String entityID)
- Adds the event that is to be associated with the log messages onto an
internal stack
- Specified by:
addEvent in interface LogFormatter- Specified by:
addEvent in class AbstractLogFormatter
- Parameters:
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.
addEvent
public void addEvent(String name,
Map<String,String> map)
- Adds the event that is to be associated with the log messages onto an
internal stack
- Parameters:
name - the name of the event to be associatedmap - Map indexed by entity name . The values is corresponding
EntityID
Copyright © 2011 The University of Southern California. All Rights Reserved.