|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.iplanet.log.LogRecord
com.sun.identity.log.LogRecord
.
Sun ONE Identity Server LogRecord
provides a means to
represent the information that needs to logged. It
represents a single piece of log information that an
application can log. This LogRecord is retained for compatibility.
Field Summary | |
static int |
ACCESS
Deprecated. Defines the type of LogRecord to be of type ACCESS. |
static int |
ERROR
Deprecated. Defines the type of LogRecord to be of type ERROR. |
Constructor Summary | |
LogRecord(java.lang.String type,
java.lang.String msg)
Deprecated. Constructs a Sun ONE Identity Server 5.1 LogRecord with the Type and Message. |
|
LogRecord(java.lang.String type,
java.lang.String msg,
int logType)
Deprecated. Constructs a Sun ONE Identity Server 5.1 LogRecord with the Type, Message and LogType. |
Method Summary | |
int |
getLogType()
Deprecated. The log type either access or error |
java.lang.String |
getRecMsg()
Deprecated. The log data or value of a single log record. |
java.lang.String |
getRecType()
Deprecated. The log type or key of a single log record. |
void |
setLogType(int logType)
Deprecated. sets the log type to either ACCESS or ERROR |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ACCESS
public static final int ERROR
Constructor Detail |
public LogRecord(java.lang.String type, java.lang.String msg)
type
- The log type or key.msg
- The log message or value.public LogRecord(java.lang.String type, java.lang.String msg, int logType)
type
- The log type (Example: Auth, Session and Console). No longer used
as a field in Sun ONE Identity Server 6.0.msg
- The data to be logged.logType
- ACCESS or ERRORMethod Detail |
public java.lang.String getRecType()
public java.lang.String getRecMsg()
public int getLogType()
public void setLogType(int logType)
logType
- ACCESS or ERROR
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |