Class TLcdLog

java.lang.Object
com.luciad.util.TLcdLog

public class TLcdLog extends Object
Deprecated.
new code should use the standard Java logging framework.
This class is intended for internal use inside LuciadLightspeed.

TLcdLog is used for displaying messages like normal output and errors. It has a logListener which implements the interface ILcdLogListener.

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
    Deprecated.
    Determines whether the debug methods of the log produce output.
    static boolean
    Deprecated.
    Determines whether the event methods of the log produce output.
    static boolean
    Deprecated.
    Determines whether the out, debug and event methods of the log produce output.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Deprecated.
    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
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TRACEON

      public static boolean TRACEON
      Deprecated.
      Determines whether the out, debug and event methods of the log produce output. Default value is true.
    • DEBUGON

      public static boolean DEBUGON
      Deprecated.
      Determines whether the debug methods of the log produce output. Default value is true.
    • EVENTON

      public static boolean EVENTON
      Deprecated.
      Determines whether the event methods of the log produce output. Default value is false.
  • Constructor Details

    • TLcdLog

      public TLcdLog()
      Deprecated.
  • Method Details

    • addLogListener

      public static void addLogListener(ILcdLogListener aLogListener)
      Deprecated.
      Sets the property logListener to aLogListener.
      Parameters:
      aLogListener - the log listener for the log.
    • setLogListener

      public static void setLogListener(ILcdLogListener aLogListener)
      Deprecated.
      Sets the log listener who is responsible for handling the messages passed to the log.
      Parameters:
      aLogListener - the log listener for the log.
    • out

      public static void out(String aString)
      Deprecated.
      If TRACEON is true, this method writes aString to the log, informing the user.
      Parameters:
      aString - the String to write to the log.
    • out

      public 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.
      Parameters:
      aClassInstance - the object on which information is put on the log.
      aString - the information to put in the log.
    • out

      public 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.
      Parameters:
      aThrowable - the Throwable whose message and stack trace will be put in the log.
    • out

      public 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.
      Parameters:
      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.
    • debug

      public static void debug(String aString)
      Deprecated.
      If TRACEON and DEBUGON are true, this method writes aString regarding debugging information to the log.
      Parameters:
      aString - the String message to add to the log.
    • debug

      public 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.
      Parameters:
      aClassInstance - the Object on which debug information is put in the log.
      aString - the String message to add to the log.
    • debug

      public 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.
      Parameters:
      aThrowable - the Throwable from which the message and stack trace is put in the log.
    • debug

      public 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.
      Parameters:
      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.
    • event

      public static void event(String aString)
      Deprecated.
      If TRACEON and EVENTON are true, this method writes aString regarding some event that occurred to the log.
      Parameters:
      aString - the String message to add to the log.
    • event

      public 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.
      Parameters:
      aClassInstance - the object on which information is put on the log.
      aString - the String message to add to the log.
    • event

      public 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.
      Parameters:
      aThrowable - the Throwable from which the message and stack trace is put in the log.
    • event

      public 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.
      Parameters:
      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.
    • fail

      public static void fail(String aString)
      Deprecated.
      This method writes aString to the log, informing the user on some program failure.
      Parameters:
      aString - the String message to add to the log.
    • fail

      public 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.
      Parameters:
      aClassInstance - the object on which information is put on the log.
      aString - the String message to add to the log.
    • fail

      public 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.
      Parameters:
      aThrowable - the Throwable from which the message and stack trace is put in the log.
    • fail

      public 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.
      Parameters:
      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.
    • warn

      public 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.
      Parameters:
      aClassInstance - the object on which information is put on the log.
      aString - the String message to add to the log.
    • warn

      public static void warn(String aString)
      Deprecated.
      This method writes aString to the log, warning the user.
      Parameters:
      aString - the warning message.
    • warn

      public 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.
      Parameters:
      aSourceObject - the Object issuing the warning.
      aThrowable - the Throwable containing information on the warning.
    • warn

      public 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.
      Parameters:
      aThrowable - the Throwable containing information on the warning.