Documentation ¶
Index ¶
- Constants
- Variables
- type Tag
- func Address(ad string) Tag
- func Bool(b bool) Tag
- func Counter(c int) Tag
- func DefaultValue(v interface{}) Tag
- func Env(env string) Tag
- func Error(err error) Tag
- func Key(k string) Tag
- func Name(k string) Tag
- func NextNumber(n int64) Tag
- func Number(n int64) Tag
- func OperationName(operationName string) Tag
- func Port(p int) Tag
- func Service(sv string) Tag
- func SysStackTrace(stackTrace string) Tag
- func Timestamp(timestamp time.Time) Tag
- func Value(v interface{}) Tag
- func ValueType(v interface{}) Tag
- func WorkflowActivityID(id string) Tag
- func WorkflowBinaryChecksum(cs string) Tag
- func WorkflowError(error error) Tag
- func WorkflowEventID(eventID int64) Tag
- func WorkflowID(workflowID string) Tag
- func WorkflowResetBaseRunID(runID string) Tag
- func WorkflowResetNewRunID(runID string) Tag
- func WorkflowRunID(runID string) Tag
- func WorkflowState(s int) Tag
- func WorkflowTimeoutType(timeoutType int64) Tag
- func WorkflowType(wfType string) Tag
Constants ¶
View Source
const LoggingCallAtKey = "logging-call-at"
LoggingCallAtKey is reserved tag
Variables ¶
View Source
var (
// WorkflowActionWorkflowStarted is for workflow start / finish
WorkflowActionWorkflowStarted = workflowAction("add-workflow-started-event")
)
Pre-defined values for TagWorkflowAction
Functions ¶
This section is empty.
Types ¶
type Tag ¶
type Tag struct {
// contains filtered or unexported fields
}
Tag is the interface for logging system
func OperationName ¶
OperationName returns tag for OperationName
func SysStackTrace ¶
SysStackTrace returns tag for SysStackTrace
func WorkflowActivityID ¶
WorkflowActivityID returns tag for WorkflowActivityID
func WorkflowBinaryChecksum ¶
WorkflowBinaryChecksum returns tag for WorkflowBinaryChecksum
func WorkflowError ¶
WorkflowError returns tag for WorkflowError
func WorkflowEventID ¶
WorkflowEventID returns tag for WorkflowEventID
func WorkflowResetBaseRunID ¶
WorkflowResetBaseRunID returns tag for WorkflowResetBaseRunID
func WorkflowResetNewRunID ¶
WorkflowResetNewRunID returns tag for WorkflowResetNewRunID
func WorkflowRunID ¶
WorkflowRunID returns tag for WorkflowRunID
func WorkflowTimeoutType ¶
WorkflowTimeoutType returns tag for WorkflowTimeoutType
Click to show internal directories.
Click to hide internal directories.