|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LogInterface
| Field Summary | |
|---|---|
static boolean |
debug
|
static boolean |
printOnConsole
|
| Method Summary | |
|---|---|
void |
close()
Releases the Log's resources: ungets LogService, removes the ServiceListener from the framework and nulls references. |
void |
debug(java.lang.String str,
java.lang.Throwable e)
Logs debug information if debug flag is true. |
void |
error(java.lang.String str,
java.lang.Throwable ex)
Logs error messages. |
boolean |
getDebug()
Gets the flag, which enables logging debug messages. |
boolean |
getPrintOnConsole()
Gets the flag, which enables printing log messages on the console. |
void |
info(java.lang.String str)
Logs info messages. |
void |
setDebug(boolean value)
enable/diasable loging of debug info |
void |
setPrintOnConsole(boolean value)
enable/diasable print on console |
void |
warning(java.lang.String str,
java.lang.Throwable ex)
Logs warning messages. |
| Field Detail |
|---|
static final boolean printOnConsole
static final boolean debug
| Method Detail |
|---|
void error(java.lang.String str,
java.lang.Throwable ex)
printOnConsole is true, or
if the LogService is unavailable, log info is printed on console.
str - Message description of the error.ex - Throwable object, containing the stack trace; may be null.
void warning(java.lang.String str,
java.lang.Throwable ex)
printOnConsole is true, or
if the LogService is unavailable, log info is printed on console.
str - Message description of the error.ex - Throwable object, containing the stack trace; may be null.void info(java.lang.String str)
printOnConsole is true, or
if the LogService is unavailable, message is printed on console.
str - Message to be logged.
void debug(java.lang.String str,
java.lang.Throwable e)
debug flag is true.
If LogService is unaccessible or printOnConsole flag is true, log info
is printed on console.
str - Message description.e - Throwable object, containing the stack trace; may be null.void close()
void setPrintOnConsole(boolean value)
value - boolean if true enables print on console else disables itvoid setDebug(boolean value)
value - boolean if true enables loging of debug info else disables itboolean getDebug()
boolean getPrintOnConsole()
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||