|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--shared.LogOptions
Provide support for MLC++ logging.
| Constructor Summary | |
LogOptions()
Constructor. |
|
LogOptions(java.lang.String logOptionName)
Constructor. |
|
| Method Summary | |
void |
DRIBBLE(java.lang.String dribbleMessage)
If the dribble is set to TRUE, this method displays the given message. |
void |
ERR(int logNumber,
java.lang.String errMessage)
Displays an error message. |
int |
get_log_level()
Returns the log level. |
LogOptions |
get_log_options()
Returns this LogOptions. |
java.io.Writer |
get_log_stream()
Returns the stream used for display. |
static void |
GLOBLOG(int logNumber,
char logChar)
Displays log message according to the global log level. |
static void |
GLOBLOG(int logNumber,
java.lang.String logMessage)
Displays log message according to the global log level. |
void |
LOG(int logNumber,
char logChar)
Displays a log message. |
void |
LOG(int logNumber,
java.lang.String logMessage)
Displays a log message. |
void |
set_log_level(int level)
Sets the log level. |
void |
set_log_options(LogOptions opt)
Set LogOptions based on another instance as prototype. |
void |
set_log_prefixes(java.lang.String file,
int line)
Sets prefixes displayed before log message. |
void |
set_log_prefixes(java.lang.String file,
int line,
int stmtLogLevel,
int lgLevel)
Sets prefixes displayed before log message. |
void |
set_log_stream(java.io.Writer strm)
Sets the display stream. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public LogOptions()
public LogOptions(java.lang.String logOptionName)
logOptionName - The name of the log level option.| Method Detail |
public void set_log_options(LogOptions opt)
opt - The LogOptions instance copied.public void set_log_level(int level)
level - The new log level.public int get_log_level()
public void set_log_stream(java.io.Writer strm)
strm - The stream to be written to.public java.io.Writer get_log_stream()
public void set_log_prefixes(java.lang.String file,
int line)
file - The name of the file containing this log message.line - Line number of log message.
public void set_log_prefixes(java.lang.String file,
int line,
int stmtLogLevel,
int lgLevel)
file - The name of the file containing this log message.line - Line number of log message.stmtLogLevel - The log level of the log message statement.lgLevel - The current log level being displayed.public LogOptions get_log_options()
public void LOG(int logNumber,
java.lang.String logMessage)
logNumber - The log number of the message.logMessage - The message being displayed.
public void LOG(int logNumber,
char logChar)
logNumber - The log number of the message.logChar - The message being displayed.
public void ERR(int logNumber,
java.lang.String errMessage)
logNumber - The log level of the error message.errMessage - The error message.
public static void GLOBLOG(int logNumber,
java.lang.String logMessage)
logNumber - The log number of the message.logMessage - The message to be displayed.
public static void GLOBLOG(int logNumber,
char logChar)
logNumber - The log number of the message.logChar - The message to be displayed.public void DRIBBLE(java.lang.String dribbleMessage)
dribbleMessage - The message to be displayed.GlobalOptions.dribble
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||