Class LogRecord

  • All Implemented Interfaces:
    ParseOutput

    public class LogRecord
    extends Object
    implements ParseOutput
    This class implements ParseOutput interface and parsing log record. This class is registered with the SAX parser.
    • Field Detail

      • ACCESS

        public static final int ACCESS
        Integer constant representing ACCESS
        See Also:
        Constant Field Values
      • ERROR

        public static final int ERROR
        Integer constant representing ERROR
        See Also:
        Constant Field Values
      • level

        public String level
        Sting variable to keep log level
      • msg

        public String msg
        Sting variable to keep log message
      • logType

        public int logType
        Sting variable to keep log type
      • logInfoMap

        public Map logInfoMap
        Sting variable to keep log information map
      • parameters

        public Object[] parameters
        Object array to keep log parameters
    • Constructor Detail

      • LogRecord

        public LogRecord()
    • Method Detail

      • process

        public void process​(String name,
                            Vector elems,
                            Hashtable atts,
                            String pcdata)
        The method that implements the ParseOutput interface. This is called by the SAX parser.
        Specified by:
        process in interface ParseOutput
        Parameters:
        name - name of request
        elems - vaector has parsing elements
        atts - parsing attributes
        pcdata - given data to be parsed.