Package org.eclnt.util.log
Class PLog
java.lang.Object
org.eclnt.util.log.PLog
- All Implemented Interfaces:
CLogConstants
Server side performance logging.
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.eclnt.util.log.CLogConstants
LL_DBG, LL_ERR, LL_INF, LL_WAR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static String
static void
logApplicationInfo
(String keyword, String info) Interface for the application processing to add any information to this log.static void
logClientProcessingInfo
(String sessionId, String clientPerformanceData) Adding performance data that is sent from the client.static void
logFileDownloadInfo
(String sessionId, long total, long numberOfBytes) static void
logFileUploadInfo
(String sessionId, long total, long numberOfBytes) static void
static void
logRequestInfo
(String sessionId, long total, long invoke, String expression, long consumedNanosGet, long stampStartOfClientProcessing, long stampStartOfServerProcessing, String requestId, long stampStartOfWritingResponse, String applicationInfo) Data added at end of processing.static void
setCurrentRequestApplicationInfo
(String applicationInfo) Each request is porotocolled with one line of comma separated values.static void
updateLogLevel
(Level newLevel)
-
Field Details
-
L
-
-
Constructor Details
-
PLog
public PLog()
-
-
Method Details
-
setCurrentRequestApplicationInfo
Each request is porotocolled with one line of comma separated values. You can set the value of the "ApplicationInfo" section by calling this method. -
clearCurrentRequestApplicationInfo
public static void clearCurrentRequestApplicationInfo() -
getCurrentRequestApplicationInfo
-
updateLogLevel
-
logClientProcessingInfo
Adding performance data that is sent from the client. This data is added at the begin of a request processing. The content is a complex value in the format "name:value;name:value". -
logRequestInfo
public static void logRequestInfo(String sessionId, long total, long invoke, String expression, long consumedNanosGet, long stampStartOfClientProcessing, long stampStartOfServerProcessing, String requestId, long stampStartOfWritingResponse, String applicationInfo) Data added at end of processing. -
logFileDownloadInfo
-
logFileUploadInfo
-
logMemoryInfo
public static void logMemoryInfo() -
logApplicationInfo
Interface for the application processing to add any information to this log.
-