Package org.serviceconnector.log
Class SessionLogger
java.lang.Object
org.serviceconnector.log.SessionLogger
The Class SessionLogger.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if is debug enabled.static booleanChecks if is trace enabled.static voidlogAbortSession(Session session, String reason) Log abort session.static voidlogCancelTimeout(String sessionId) Log cancel timeout.static voidlogCreateSession(String sessionId, double eci) Log create session.static voidlogDeleteSession(String sessionId) Log delete session.static voidlogRejectSession(String sessionId) Log reject session.static voidlogScheduleTimeout(String sessionId, double timeout, long delay) Log start timeout scheduling.static voidlogTimeoutSession(Session session) Log timeout session.
-
Method Details
-
isTraceEnabled
public static boolean isTraceEnabled()Checks if is trace enabled.- Returns:
- true, if is trace enabled
-
isDebugEnabled
public static boolean isDebugEnabled()Checks if is debug enabled.- Returns:
- true, if is debug enabled
-
logCreateSession
Log create session.- Parameters:
sessionId- the session ideci- the eci
-
logDeleteSession
Log delete session.- Parameters:
sessionId- the session id
-
logScheduleTimeout
Log start timeout scheduling.- Parameters:
sessionId- the session id
-
logCancelTimeout
Log cancel timeout.- Parameters:
sessionId- the session id
-
logTimeoutSession
Log timeout session.- Parameters:
session- the session
-
logAbortSession
Log abort session.- Parameters:
session- the sessionreason- the reason
-
logRejectSession
Log reject session.- Parameters:
sessionId- the session id
-