Package com.sun.identity.log.service
Class LogRecord
- java.lang.Object
-
- com.sun.identity.log.service.LogRecord
-
- All Implemented Interfaces:
ParseOutput
public class LogRecord extends Object implements ParseOutput
This class implementsParseOutputinterface and parsing log record. This class is registered with the SAX parser.
-
-
Field Summary
Fields Modifier and Type Field Description static intACCESSInteger constant representing ACCESSstatic intERRORInteger constant representing ERRORStringlevelSting variable to keep log levelMaplogInfoMapSting variable to keep log information mapintlogTypeSting variable to keep log typeStringmsgSting variable to keep log messageObject[]parametersObject array to keep log parameters
-
Constructor Summary
Constructors Constructor Description LogRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(String name, Vector elems, Hashtable atts, String pcdata)The method that implements the ParseOutput interface.
-
-
-
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
-
-
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:
processin interfaceParseOutput- Parameters:
name- name of requestelems- vaector has parsing elementsatts- parsing attributespcdata- given data to be parsed.
-
-