Class LoggingSessionUtil
- java.lang.Object
-
- org.flowable.common.engine.impl.logging.LoggingSessionUtil
-
public class LoggingSessionUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDprotected static StrongUuidGeneratoridGeneratorstatic StringLOG_NUMBERstatic StringTIMESTAMPstatic StringTRANSACTION_IDprotected static TimeZoneutcTimeZone
-
Constructor Summary
Constructors Constructor Description LoggingSessionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddEngineLoggingData(String type, String message, String engineType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)static voidaddErrorLoggingData(String type, com.fasterxml.jackson.databind.node.ObjectNode loggingNode, Throwable t, String engineType)static voidaddLoggingData(String type, com.fasterxml.jackson.databind.node.ObjectNode data, String engineType)static voidaddLoggingData(String type, String message, String engineType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)static voidaddLoggingData(String type, String message, String scopeId, String subScopeId, String scopeType, String scopeDefinitionId, String elementId, String elementName, String elementType, String elementSubType, String engineType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)static com.fasterxml.jackson.databind.node.ObjectNodefillLoggingData(String message, String scopeId, String subScopeId, String scopeType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)static com.fasterxml.jackson.databind.node.ObjectNodefillLoggingData(String message, String scopeId, String subScopeId, String scopeType, String scopeDefinitionId, String elementId, String elementName, String elementType, String elementSubType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)static StringformatDate(Date date)static StringformatDate(org.joda.time.DateTime date)static StringformatDate(org.joda.time.LocalDate date)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
TRANSACTION_ID
public static final String TRANSACTION_ID
- See Also:
- Constant Field Values
-
TIMESTAMP
public static final String TIMESTAMP
- See Also:
- Constant Field Values
-
LOG_NUMBER
public static final String LOG_NUMBER
- See Also:
- Constant Field Values
-
utcTimeZone
protected static TimeZone utcTimeZone
-
idGenerator
protected static StrongUuidGenerator idGenerator
-
-
Method Detail
-
addLoggingData
public static void addLoggingData(String type, String message, String scopeId, String subScopeId, String scopeType, String scopeDefinitionId, String elementId, String elementName, String elementType, String elementSubType, String engineType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
addErrorLoggingData
public static void addErrorLoggingData(String type, com.fasterxml.jackson.databind.node.ObjectNode loggingNode, Throwable t, String engineType)
-
addLoggingData
public static void addLoggingData(String type, String message, String engineType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
addEngineLoggingData
public static void addEngineLoggingData(String type, String message, String engineType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
addLoggingData
public static void addLoggingData(String type, com.fasterxml.jackson.databind.node.ObjectNode data, String engineType)
-
fillLoggingData
public static com.fasterxml.jackson.databind.node.ObjectNode fillLoggingData(String message, String scopeId, String subScopeId, String scopeType, String scopeDefinitionId, String elementId, String elementName, String elementType, String elementSubType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
fillLoggingData
public static com.fasterxml.jackson.databind.node.ObjectNode fillLoggingData(String message, String scopeId, String subScopeId, String scopeType, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
formatDate
public static String formatDate(org.joda.time.DateTime date)
-
formatDate
public static String formatDate(org.joda.time.LocalDate date)
-
-