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 implementsParseOutput
interface and parsing log record. This class is registered with the SAX parser.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCESS
Integer constant representing ACCESSstatic int
ERROR
Integer constant representing ERRORString
level
Sting variable to keep log levelMap
logInfoMap
Sting variable to keep log information mapint
logType
Sting variable to keep log typeString
msg
Sting variable to keep log messageObject[]
parameters
Object array to keep log parameters
-
Constructor Summary
Constructors Constructor Description LogRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(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:
process
in interfaceParseOutput
- Parameters:
name
- name of requestelems
- vaector has parsing elementsatts
- parsing attributespcdata
- given data to be parsed.
-
-