Class AppLog

java.lang.Object
org.eclnt.ccee.log.AppLog
All Implemented Interfaces:
ICCEEConstants

public class AppLog extends Object implements ICCEEConstants
Application framework logging for the ccee-library.
The log by default checks for the availability of the normal CaptainCasa log which is part of the CaptainCasa server library (eclnt_jsfserver.jar). If this log is available then this log is the one that is also used for the application framework logging.

You may also use some own log which is independet from the CaptainCasa logging. In this case call method setOwnLog(Logger).
  • Field Details

  • Constructor Details

    • AppLog

      public AppLog()
  • Method Details

    • setOwnLog

      public static void setOwnLog(Logger log)
      Set some own log for the logging. After calling this method the log that is passed as argument is used for logging.
    • initLog2Console

      public static void initLog2Console()
      If the logger is using the bridge to the CC-logging then this log is updated so that it outputs its log to the console.

      This method is ignored if you are using some own log.
    • initLogLevel

      public static void initLogLevel(Level level)
      If the logger is using the bridge to the CC-logging then the log level of this log is updated.

      This method is ignored if you are using some own log.
    • initSystemOut

      public static void initSystemOut()
      If the logger is using the bridge to the CC-logging then the log level of this log is updated to INFO level, and the log is output to the console. Short version of first calling initLogLevel(Level) and then calling initLog2Console().

      This method is ignored if you are using some own log.