Package org.eclnt.ccee.log
Class AppLog
java.lang.Object
org.eclnt.ccee.log.AppLog
- All Implemented Interfaces:
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
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 Summary
FieldsFields inherited from interface org.eclnt.ccee.ICCEEConstants
AND, ASC, AVG, BETWEEN, BRC, BRO, COUNT, DEFAULT_CONTEXT, DESC, FUNCTIONRESULT, GREATER, GREATEREQUAL, IN, IS, ISNOT, LIKE, LL_DBG, LL_ERR, LL_INF, LL_WAR, LOWER, LOWEREQUAL, MAX, MIN, NULL, OR, ORDERBY, QPFUNCTION_LOWER, QPFUNCTION_UPPER, SUM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
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.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.static void
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.static void
Set some own log for the logging.
-
Field Details
-
L
-
-
Constructor Details
-
AppLog
public AppLog()
-
-
Method Details
-
setOwnLog
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
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 callinginitLogLevel(Level)
and then callinginitLog2Console()
.
This method is ignored if you are using some own log.
-