public class TLcdLog extends Object
TLcdLog
is used for displaying messages like normal output and
errors. It has a logListener which implements the interface ILcdLogListener
.
ILcdLogListener
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUGON
Deprecated.
Determines whether the debug methods of the log produce output.
|
static boolean |
EVENTON
Deprecated.
Determines whether the event methods of the log produce output.
|
static boolean |
TRACEON
Deprecated.
Determines whether the out, debug and event methods of the log produce output.
|
Constructor and Description |
---|
TLcdLog()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addLogListener(ILcdLogListener aLogListener)
Deprecated.
use the method
setLogListener(ILcdLogListener) . |
static void |
debug(Object aClassInstance,
String aString)
Deprecated.
If TRACEON and DEBUGON are
true , this method writes aString and
some information on the Object aClassInstance regarding debugging
information to the log. |
static void |
debug(Object aSourceObject,
Throwable aThrowable)
Deprecated.
If TRACEON and DEBUGON are
true , this method writes the message
and stack trace of aThrowable and some information on the Object
aClassInstance regarding debugging information to the log. |
static void |
debug(String aString)
Deprecated.
If TRACEON and DEBUGON are
true , this method writes aString regarding
debugging information to the log. |
static void |
debug(Throwable aThrowable)
Deprecated.
If TRACEON and DEBUGON are
true , this method writes the message
and stack trace of aThrowable to the log. |
static void |
event(Object aClassInstance,
String aString)
Deprecated.
If TRACEON and EVENTON are
true , this method writes aString and
some information on the Object aClassInstance regarding some event
that occurred to the log. |
static void |
event(Object aSourceObject,
Throwable aThrowable)
Deprecated.
If TRACEON and EVENTON are
true , this method writes the message and
stack trace of aThrowable and some information on the Object aClassInstance
to the log. |
static void |
event(String aString)
Deprecated.
If TRACEON and EVENTON are
true , this method writes aString regarding
some event that occurred to the log. |
static void |
event(Throwable aThrowable)
Deprecated.
If TRACEON and EVENTON are
true , this method writes the message and
stack trace of aThrowable to the log. |
static void |
fail(Object aClassInstance,
String aString)
Deprecated.
This method writes aString and some information regarding the
Object
aClassInstance to the log, informing the user on some program failure. |
static void |
fail(Object aSourceObject,
Throwable aThrowable)
Deprecated.
This method writes the message and stack trace of aThrowable and some information regarding
the
Object aClassInstance to the log, informing the user on some program failure. |
static void |
fail(String aString)
Deprecated.
This method writes aString to the log, informing the user on some program failure.
|
static void |
fail(Throwable aThrowable)
Deprecated.
This method writes the message and stack trace of aThrowable to the log, informing the user
on some program failure.
|
static void |
out(Object aClassInstance,
String aString)
Deprecated.
If TRACEON is
true , this method writes aString and some information
regarding the Object aClassInstance to the log, informing the user. |
static void |
out(Object aSourceObject,
Throwable aThrowable)
Deprecated.
If TRACEON is
true , this method writes the message and stack trace of aThrowable
and some information regarding the Object aClassInstance to the log, informing
the user. |
static void |
out(String aString)
Deprecated.
If TRACEON is
true , this method writes aString to the log, informing the user. |
static void |
out(Throwable aThrowable)
Deprecated.
If TRACEON is
true , this method writes the message and stack trace of aThrowable
to the log, informing the user. |
static void |
setLogListener(ILcdLogListener aLogListener)
Deprecated.
Sets the log listener who is responsible for handling the messages passed to the log.
|
static void |
warn(Object aClassInstance,
String aString)
Deprecated.
This method writes aString and some information regarding the
Object
aClassInstance to the log, warning the user. |
static void |
warn(Object aSourceObject,
Throwable aThrowable)
Deprecated.
This method writes the message and stack trace of aThrowable and some information
regarding the
Object aClassInstance to the log, warning the user. |
static void |
warn(String aString)
Deprecated.
This method writes aString to the log, warning the user.
|
static void |
warn(Throwable aThrowable)
Deprecated.
This method writes the message and stack trace of aThrowable and some information
regarding the
Object aClassInstance to the log, warning the user. |
public static boolean TRACEON
public static boolean DEBUGON
public static boolean EVENTON
public static void addLogListener(ILcdLogListener aLogListener)
setLogListener(ILcdLogListener)
.aLogListener
- the log listener for the log.public static void setLogListener(ILcdLogListener aLogListener)
aLogListener
- the log listener for the log.public static void out(String aString)
true
, this method writes aString to the log, informing the user.aString
- the String to write to the log.public static void out(Object aClassInstance, String aString)
true
, this method writes aString and some information
regarding the Object
aClassInstance to the log, informing the user.aClassInstance
- the object on which information is put on the log.aString
- the information to put in the log.public static void out(Throwable aThrowable)
true
, this method writes the message and stack trace of aThrowable
to the log, informing the user.aThrowable
- the Throwable
whose message and stack trace will be put in the log.public static void out(Object aSourceObject, Throwable aThrowable)
true
, this method writes the message and stack trace of aThrowable
and some information regarding the Object
aClassInstance to the log, informing
the user.aSourceObject
- the Object on which information is put in the log.aThrowable
- the Throwable
from which the message and stack trace is put in the log.public static void debug(String aString)
true
, this method writes aString regarding
debugging information to the log.aString
- the String message to add to the log.public static void debug(Object aClassInstance, String aString)
true
, this method writes aString and
some information on the Object
aClassInstance regarding debugging
information to the log.aClassInstance
- the Object on which debug information is put in the log.aString
- the String message to add to the log.public static void debug(Throwable aThrowable)
true
, this method writes the message
and stack trace of aThrowable to the log.aThrowable
- the Throwable
from which the message and stack trace is put in the log.public static void debug(Object aSourceObject, Throwable aThrowable)
true
, this method writes the message
and stack trace of aThrowable and some information on the Object
aClassInstance regarding debugging information to the log.aSourceObject
- the Object on which debug information is put in the log.aThrowable
- the Throwable
from which the message and stack trace is put in the log.public static void event(String aString)
true
, this method writes aString regarding
some event that occurred to the log.aString
- the String message to add to the log.public static void event(Object aClassInstance, String aString)
true
, this method writes aString and
some information on the Object
aClassInstance regarding some event
that occurred to the log.aClassInstance
- the object on which information is put on the log.aString
- the String message to add to the log.public static void event(Throwable aThrowable)
true
, this method writes the message and
stack trace of aThrowable to the log.aThrowable
- the Throwable
from which the message and stack trace is put in the log.public static void event(Object aSourceObject, Throwable aThrowable)
true
, this method writes the message and
stack trace of aThrowable and some information on the Object
aClassInstance
to the log.aSourceObject
- the Object on which information is put in the log.aThrowable
- the Throwable
from which the message and stack trace is put in the log.public static void fail(String aString)
aString
- the String message to add to the log.public static void fail(Object aClassInstance, String aString)
Object
aClassInstance to the log, informing the user on some program failure.aClassInstance
- the object on which information is put on the log.aString
- the String message to add to the log.public static void fail(Throwable aThrowable)
aThrowable
- the Throwable
from which the message and stack trace is put in the log.public static void fail(Object aSourceObject, Throwable aThrowable)
Object
aClassInstance to the log, informing the user on some program failure.aSourceObject
- the Object on which information is put in the log.aThrowable
- the Throwable
from which the message and stack trace is put in the log.public static void warn(Object aClassInstance, String aString)
Object
aClassInstance to the log, warning the user.aClassInstance
- the object on which information is put on the log.aString
- the String message to add to the log.public static void warn(String aString)
aString
- the warning message.public static void warn(Object aSourceObject, Throwable aThrowable)
Object
aClassInstance to the log, warning the user.aSourceObject
- the Object issuing the warning.aThrowable
- the Throwable
containing information on the warning.public static void warn(Throwable aThrowable)
Object
aClassInstance to the log, warning the user.aThrowable
- the Throwable
containing information on the warning.