Class Netlogger

  • All Implemented Interfaces:
    LogFormatter

    public class Netlogger
    extends AbstractLogFormatter
    This formatter formats the messages in the netlogger format.
    Version:
    $Revision$
    Author:
    Karan Vahi, Gaurang Mehta
    • Constructor Detail

      • Netlogger

        public Netlogger()
        The default constructor.
    • Method Detail

      • addEvent

        public 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
        Specified by:
        addEvent in interface LogFormatter
        Specified by:
        addEvent in class AbstractLogFormatter
        Parameters:
        name - the name of the event to be associated
        entityName - the primary entity that is associated with the event e.g. workflow
        entityID - the id of that entity.
      • addEvent

        public 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
        Parameters:
        name - the name of the event to be associated
        map - Map indexed by entity name . The values is corresponding EntityID