public static final class MClog.MClogStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MClog.MClogStatus |
LOGFILE_BADSEEK
The status of the log operation caused by the bad seek on the log file.
|
static MClog.MClogStatus |
LOGFILE_EOF
The status of the log operation caused by an unexpected end of the log file.
|
static MClog.MClogStatus |
LOGFILE_INVALID_MODE
The status of the log operation caused by an invalid mode of the log file.
|
static MClog.MClogStatus |
LOGFILE_INVALID_PARM
The status of the log operation caused by invalid log file parameters.
|
static MClog.MClogStatus |
LOGFILE_IOERR
The status of the log operation caused by an I/O error in the log file.
|
static MClog.MClogStatus |
LOGFILE_NOEOF
The status of the log operation caused by the failure to find a marker for the end of the log file.
|
static MClog.MClogStatus |
LOGFILE_NOERR
The status of the log operation describing the successful logging.
|
static MClog.MClogStatus |
LOGFILE_NOMEM
The status of the log operation caused by the failure to acquire memory for the log file.
|
static MClog.MClogStatus |
LOGFILE_NOTOPEN
The status of the log operation caused by the log file not being opened.
|
static MClog.MClogStatus |
LOGFILE_UNINITIALIZED
The status of the log operation caused by the log file not being initialized.
|
static MClog.MClogStatus |
UNKNOWN_ERROR
The status of the log operation caused by an unknown error.
|
Modifier and Type | Method and Description |
---|---|
static MClog.MClogStatus |
getStatusByCode(int code)
Returns the
MClog.MClogStatus object corresponding to the specified logger
status code. |
java.lang.String |
toString()
Returns the description of the logger status.
|
public static final MClog.MClogStatus LOGFILE_NOERR
public static final MClog.MClogStatus LOGFILE_EOF
public static final MClog.MClogStatus LOGFILE_IOERR
public static final MClog.MClogStatus LOGFILE_INVALID_MODE
public static final MClog.MClogStatus LOGFILE_INVALID_PARM
public static final MClog.MClogStatus LOGFILE_NOTOPEN
public static final MClog.MClogStatus LOGFILE_BADSEEK
public static final MClog.MClogStatus LOGFILE_UNINITIALIZED
public static final MClog.MClogStatus LOGFILE_NOMEM
public static final MClog.MClogStatus LOGFILE_NOEOF
public static final MClog.MClogStatus UNKNOWN_ERROR
public static MClog.MClogStatus getStatusByCode(int code)
MClog.MClogStatus
object corresponding to the specified logger
status code.code
- The logger status code.MClog.MClogStatus
object corresponding to the specified code.public java.lang.String toString()
toString
in class java.lang.Object