Package org.wso2.carbon.utils
Class DiagnosticLog
- java.lang.Object
-
- org.wso2.carbon.utils.DiagnosticLog
-
public class DiagnosticLog extends Object
Diagnostic log.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiagnosticLog.DiagnosticLogBuilderBuilder class for DiagnosticLog.static classDiagnosticLog.LogDetailLevelLog detail levels of the diagnostic log.static classDiagnosticLog.ResultStatusResult status of the diagnostic log.
-
Field Summary
Fields Modifier and Type Field Description static StringCORRELATION_ID_MDCstatic StringFLOW_ID_MDC
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActionId()StringgetComponentId()Map<String,Object>getConfigurations()StringgetFlowId()Map<String,Object>getInput()DiagnosticLog.LogDetailLevelgetLogDetailLevel()Returns the log detail level of the diagnostic log.StringgetLogId()InstantgetRecordedAt()StringgetRequestId()StringgetResultMessage()StringgetResultStatus()
-
-
-
Field Detail
-
CORRELATION_ID_MDC
public static final String CORRELATION_ID_MDC
- See Also:
- Constant Field Values
-
FLOW_ID_MDC
public static final String FLOW_ID_MDC
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLogId
public String getLogId()
-
getRecordedAt
public Instant getRecordedAt()
-
getRequestId
public String getRequestId()
-
getFlowId
public String getFlowId()
-
getResultStatus
public String getResultStatus()
-
getResultMessage
public String getResultMessage()
-
getActionId
public String getActionId()
-
getComponentId
public String getComponentId()
-
getLogDetailLevel
public DiagnosticLog.LogDetailLevel getLogDetailLevel()
Returns the log detail level of the diagnostic log. This is used to categorize and filter the diagnostic logs.- Returns:
- the log detail level of the diagnostic log.
-
-