func AckLevel(s interface{}) ZapTag {
	return NewAnyTag("ack-level", s)
}
AckLevel returns tag for ack level
package tag
import (
	"fmt"
	"time"
	enumspb "go.temporal.io/api/enums/v1"
	enumsspb "go.temporal.io/server/api/enums/v1"
	"go.temporal.io/server/common/primitives/timestamp"
)
const LoggingCallAtKey = "logging-call-at"
func Operation(operation string) ZapTag {
	return NewStringTag("operation", operation)
}
func Error(err error) ZapTag {
	return NewErrorTag(err)
}
func ClusterName(clusterName string) ZapTag {
	return NewStringTag("cluster-name", clusterName)
}
func Timestamp(timestamp time.Time) ZapTag {
	return NewTimeTag("timestamp", timestamp)
}
func TimestampPtr(t *time.Time) ZapTag {
	return NewTimeTag("timestamp", timestamp.TimeValue(t))
}
func workflowAction(action string) ZapTag {
	return NewStringTag("wf-action", action)
}
func workflowListFilterType(listFilterType string) ZapTag {
	return NewStringTag("wf-list-filter-type", listFilterType)
}
func WorkflowTimeoutType(timeoutType enumspb.TimeoutType) ZapTag {
	return NewStringTag("wf-timeout-type", timeoutType.String())
}
func WorkflowPollContextTimeout(pollContextTimeout time.Duration) ZapTag {
	return NewDurationTag("wf-poll-context-timeout", pollContextTimeout)
}
func WorkflowHandlerName(handlerName string) ZapTag {
	return NewStringTag("wf-handler-name", handlerName)
}
func WorkflowID(workflowID string) ZapTag {
	return NewStringTag("wf-id", workflowID)
}
func WorkflowType(wfType string) ZapTag {
	return NewStringTag("wf-type", wfType)
}
func WorkflowState(s enumsspb.WorkflowExecutionState) ZapTag {
	return NewStringTag("wf-state", s.String())
}
func WorkflowRunID(runID string) ZapTag {
	return NewStringTag("wf-run-id", runID)
}
func WorkflowResetBaseRunID(runID string) ZapTag {
	return NewStringTag("wf-reset-base-run-id", runID)
}
func WorkflowResetNewRunID(runID string) ZapTag {
	return NewStringTag("wf-reset-new-run-id", runID)
}
func WorkflowBinaryChecksum(cs string) ZapTag {
	return NewStringTag("wf-binary-checksum", cs)
}
func WorkflowActivityID(id string) ZapTag {
	return NewStringTag("wf-activity-id", id)
}
func WorkflowTimerID(id string) ZapTag {
	return NewStringTag("wf-timer-id", id)
}
func WorkflowBeginningRunID(beginningRunID string) ZapTag {
	return NewStringTag("wf-beginning-run-id", beginningRunID)
}
func WorkflowEndingRunID(endingRunID string) ZapTag {
	return NewStringTag("wf-ending-run-id", endingRunID)
}
func WorkflowTaskTimeoutSeconds(s int64) ZapTag {
	return NewInt64("workflow-task-timeout", s)
}
func WorkflowTaskTimeout(s *time.Duration) ZapTag {
	return NewDurationPtrTag("workflow-task-timeout", s)
}
func QueryID(queryID string) ZapTag {
	return NewStringTag("query-id", queryID)
}
func BlobSizeViolationOperation(operation string) ZapTag {
	return NewStringTag("blob-size-violation-operation", operation)
}
func WorkflowNamespaceID(namespaceID string) ZapTag {
	return NewStringTag("wf-namespace-id", namespaceID)
}
func WorkflowNamespace(namespace string) ZapTag {
	return NewStringTag("wf-namespace", namespace)
}
func WorkflowNamespaceIDs(namespaceIDs map[string]struct{}) ZapTag {
	return NewAnyTag("wf-namespace-ids", namespaceIDs)
}
func WorkflowEventID(eventID int64) ZapTag {
	return NewInt64("wf-history-event-id", eventID)
}
func WorkflowScheduleID(scheduleID int64) ZapTag {
	return NewInt64("wf-schedule-id", scheduleID)
}
func WorkflowStartedID(id int64) ZapTag {
	return NewInt64("wf-started-id", id)
}
func WorkflowStartedTimestamp(t *time.Time) ZapTag {
	return NewTimePtrTag("wf-started-timestamp", t)
}
func WorkflowInitiatedID(id int64) ZapTag {
	return NewInt64("wf-initiated-id", id)
}
func WorkflowFirstEventID(firstEventID int64) ZapTag {
	return NewInt64("wf-first-event-id", firstEventID)
}
func WorkflowNextEventID(nextEventID int64) ZapTag {
	return NewInt64("wf-next-event-id", nextEventID)
}
func WorkflowBeginningFirstEventID(beginningFirstEventID int64) ZapTag {
	return NewInt64("wf-begining-first-event-id", beginningFirstEventID)
}
func WorkflowEndingNextEventID(endingNextEventID int64) ZapTag {
	return NewInt64("wf-ending-next-event-id", endingNextEventID)
}
func WorkflowResetNextEventID(resetNextEventID int64) ZapTag {
	return NewInt64("wf-reset-next-event-id", resetNextEventID)
}
func WorkflowTreeID(treeID string) ZapTag {
	return NewStringTag("wf-tree-id", treeID)
}
func WorkflowBranchID(branchID string) ZapTag {
	return NewStringTag("wf-branch-id", branchID)
}
func WorkflowCommandType(commandType enumspb.CommandType) ZapTag {
	return NewStringTag("command-type", commandType.String())
}
func WorkflowQueryType(qt string) ZapTag {
	return NewStringTag("wf-query-type", qt)
}
func WorkflowTaskFailedCause(workflowTaskFailCause enumspb.WorkflowTaskFailedCause) ZapTag {
	return NewStringTag("workflow-task-fail-cause", workflowTaskFailCause.String())
}
func WorkflowTaskQueueType(taskQueueType enumspb.TaskQueueType) ZapTag {
	return NewStringTag("wf-task-queue-type", taskQueueType.String())
}
func WorkflowTaskQueueName(taskQueueName string) ZapTag {
	return NewStringTag("wf-task-queue-name", taskQueueName)
}
func WorkflowSize(workflowSize int64) ZapTag {
	return NewInt64("wf-size", workflowSize)
}
func WorkflowSignalCount(signalCount int64) ZapTag {
	return NewInt64("wf-signal-count", signalCount)
}
func WorkflowHistorySize(historySize int) ZapTag {
	return NewInt("wf-history-size", historySize)
}
func WorkflowHistorySizeBytes(historySizeBytes int) ZapTag {
	return NewInt("wf-history-size-bytes", historySizeBytes)
}
func WorkflowEventCount(eventCount int) ZapTag {
	return NewInt("wf-event-count", eventCount)
}
func component(component string) ZapTag {
	return NewStringTag("component", component)
}
func lifecycle(lifecycle string) ZapTag {
	return NewStringTag("lifecycle", lifecycle)
}
func storeOperation(storeOperation string) ZapTag {
	return NewStringTag("store-operation", storeOperation)
}
func operationResult(operationResult string) ZapTag {
	return NewStringTag("operation-result", operationResult)
}
func errorType(errorType string) ZapTag {
	return NewStringTag("error-type", errorType)
}
func shardupdate(shardupdate string) ZapTag {
	return NewStringTag("shard-update", shardupdate)
}
func Service(sv string) ZapTag {
	return NewStringTag("service", sv)
}
func Addresses(ads []string) ZapTag {
	return NewStringsTag("addresses", ads)
}
func ListenerName(name string) ZapTag {
	return NewStringTag("listener-name", name)
}
func Address(ad string) ZapTag {
	return NewStringTag("address", ad)
}
func HostID(hid string) ZapTag {
	return NewStringTag("hostId", hid)
}
func Env(env string) ZapTag {
	return NewStringTag("env", env)
}
func Key(k string) ZapTag {
	return NewStringTag("key", k)
}
func Name(k string) ZapTag {
	return NewStringTag("name", k)
}
func Value(v interface{}) ZapTag {
	return NewAnyTag("value", v)
}
func ValueType(v interface{}) ZapTag {
	return NewStringTag("value-type", fmt.Sprintf("%T", v))
}
func DefaultValue(v interface{}) ZapTag {
	return NewAnyTag("default-value", v)
}
func IgnoredValue(v interface{}) ZapTag {
	return NewAnyTag("ignored-value", v)
}
func Port(p int) ZapTag {
	return NewInt("port", p)
}
func CursorTimestamp(timestamp time.Time) ZapTag {
	return NewTimeTag("cursor-timestamp", timestamp)
}
func MetricScope(metricScope int) ZapTag {
	return NewInt("metric-scope", metricScope)
}
func StoreType(storeType string) ZapTag {
	return NewStringTag("store-type", storeType)
}
func DetailInfo(i string) ZapTag {
	return NewStringTag("detail-info", i)
}
func Counter(c int) ZapTag {
	return NewInt("counter", c)
}
func Number(n int64) ZapTag {
	return NewInt64("number", n)
}
func NextNumber(n int64) ZapTag {
	return NewInt64("next-number", n)
}
func Bool(b bool) ZapTag {
	return NewBoolTag("bool", b)
}
func ServerName(serverName string) ZapTag {
	return NewStringTag("server-name", serverName)
}
func CertThumbprint(thumbprint string) ZapTag {
	return NewStringTag("cert-thumbprint", thumbprint)
}
func ShardID(shardID int32) ZapTag {
	return NewInt32("shard-id", shardID)
}
func ShardItem(shardItem interface{}) ZapTag {
	return NewAnyTag("shard-item", shardItem)
}
func ShardTime(shardTime interface{}) ZapTag {
	return NewAnyTag("shard-time", shardTime)
}
func ShardReplicationAck(shardReplicationAck int64) ZapTag {
	return NewInt64("shard-replication-ack", shardReplicationAck)
}
func PreviousShardRangeID(id int64) ZapTag {
	return NewInt64("previous-shard-range-id", id)
}
func ShardRangeID(id int64) ZapTag {
	return NewInt64("shard-range-id", id)
}
func ReadLevel(lv int64) ZapTag {
	return NewInt64("read-level", lv)
}
func MinLevel(lv int64) ZapTag {
	return NewInt64("min-level", lv)
}
func MaxLevel(lv int64) ZapTag {
	return NewInt64("max-level", lv)
}
func ShardTransferAcks(shardTransferAcks interface{}) ZapTag {
	return NewAnyTag("shard-transfer-acks", shardTransferAcks)
}
func ShardTimerAcks(shardTimerAcks interface{}) ZapTag {
	return NewAnyTag("shard-timer-acks", shardTimerAcks)
}
func Task(task interface{}) ZapTag {
	return NewAnyTag("queue-task", task)
}
func TaskID(taskID int64) ZapTag {
	return NewInt64("queue-task-id", taskID)
}
func TaskType(taskType enumsspb.TaskType) ZapTag {
	return NewStringTag("queue-task-type", taskType.String())
}
func TaskVersion(taskVersion int64) ZapTag {
	return NewInt64("queue-task-version", taskVersion)
}
func TaskVisibilityTimestamp(timestamp time.Time) ZapTag {
	return NewTimeTag("queue-task-visibility-timestamp", timestamp)
}
func NumberProcessed(n int) ZapTag {
	return NewInt("number-processed", n)
}
func NumberDeleted(n int) ZapTag {
	return NewInt("number-deleted", n)
}
func TimerTaskStatus(timerTaskStatus int32) ZapTag {
	return NewInt32("timer-task-status", timerTaskStatus)
}
func Attempt(attempt int32) ZapTag {
	return NewInt32("attempt", attempt)
}
func AttemptCount(attemptCount int64) ZapTag {
	return NewInt64("attempt-count", attemptCount)
}
func AttemptStart(attemptStart time.Time) ZapTag {
	return NewTimeTag("attempt-start", attemptStart)
}
func AttemptEnd(attemptEnd time.Time) ZapTag {
	return NewTimeTag("attempt-end", attemptEnd)
}
func ScheduleAttempt(scheduleAttempt int32) ZapTag {
	return NewInt32("schedule-attempt", scheduleAttempt)
}
func ESRequest(ESRequest string) ZapTag {
	return NewStringTag("es-request", ESRequest)
}
func ESResponseStatus(status int) ZapTag {
	return NewInt("es-response-status", status)
}
func ESResponseError(msg string) ZapTag {
	return NewStringTag("es-response-error", msg)
}
func ESKey(ESKey string) ZapTag {
	return NewStringTag("es-mapping-key", ESKey)
}
func ESValue(ESValue []byte) ZapTag {
	return NewStringTag("es-mapping-value", string(ESValue))
}
func ESConfig(c interface{}) ZapTag {
	return NewAnyTag("es-config", c)
}
func ESIndex(index string) ZapTag {
	return NewStringTag("es-index", index)
}
func ESMapping(mapping map[string]enumspb.IndexedValueType) ZapTag {
	return NewAnyTag("es-mapping", mapping)
}
func ESClusterStatus(status string) ZapTag {
	return NewStringTag("es-cluster-status", status)
}
func ESField(ESField string) ZapTag {
	return NewStringTag("es-Field", ESField)
}
func ESDocID(id string) ZapTag {
	return NewStringTag("es-doc-id", id)
}
func SysStackTrace(stackTrace string) ZapTag {
	return NewStringTag("sys-stack-trace", stackTrace)
}
func TokenLastEventID(id int64) ZapTag {
	return NewInt64("token-last-event-id", id)
}
func SourceCluster(sourceCluster string) ZapTag {
	return NewStringTag("xdc-source-cluster", sourceCluster)
}
func PrevActiveCluster(prevActiveCluster string) ZapTag {
	return NewStringTag("xdc-prev-active-cluster", prevActiveCluster)
}
func FailoverMsg(failoverMsg string) ZapTag {
	return NewStringTag("xdc-failover-msg", failoverMsg)
}
func FailoverVersion(version int64) ZapTag {
	return NewInt64("xdc-failover-version", version)
}
func CurrentVersion(currentVersion int64) ZapTag {
	return NewInt64("xdc-current-version", currentVersion)
}
func IncomingVersion(incomingVersion int64) ZapTag {
	return NewInt64("xdc-incoming-version", incomingVersion)
}
func FirstEventVersion(version int64) ZapTag {
	return NewInt64("xdc-first-event-version", version)
}
func LastEventVersion(version int64) ZapTag {
	return NewInt64("xdc-last-event-version", version)
}
func TokenLastEventVersion(version int64) ZapTag {
	return NewInt64("xdc-token-last-event-version", version)
}
func ArchivalCallerServiceName(callerServiceName string) ZapTag {
	return NewStringTag("archival-caller-service-name", callerServiceName)
}
func ArchivalArchiveAttemptedInline(archiveInline bool) ZapTag {
	return NewBoolTag("archival-archive-attempted-inline", archiveInline)
}
func ArchivalRequestNamespaceID(requestNamespaceID string) ZapTag {
	return NewStringTag("archival-request-namespace-id", requestNamespaceID)
}
func ArchivalRequestNamespace(requestNamespace string) ZapTag {
	return NewStringTag("archival-request-namespace", requestNamespace)
}
func ArchivalRequestWorkflowID(requestWorkflowID string) ZapTag {
	return NewStringTag("archival-request-workflow-id", requestWorkflowID)
}
func ArchvialRequestWorkflowType(requestWorkflowType string) ZapTag {
	return NewStringTag("archival-request-workflow-type", requestWorkflowType)
}
func ArchivalRequestRunID(requestRunID string) ZapTag {
	return NewStringTag("archival-request-run-id", requestRunID)
}
func ArchivalRequestBranchToken(requestBranchToken []byte) ZapTag {
	return NewBinaryTag("archival-request-branch-token", requestBranchToken)
}
func ArchivalRequestNextEventID(requestNextEventID int64) ZapTag {
	return NewInt64("archival-request-next-event-id", requestNextEventID)
}
func ArchivalRequestCloseFailoverVersion(requestCloseFailoverVersion int64) ZapTag {
	return NewInt64("archival-request-close-failover-version", requestCloseFailoverVersion)
}
func ArchivalRequestCloseTimestamp(requestCloseTimeStamp *time.Time) ZapTag {
	return NewTimeTag("archival-request-close-timestamp", timestamp.TimeValue(requestCloseTimeStamp))
}
func ArchivalRequestStatus(requestStatus string) ZapTag {
	return NewStringTag("archival-request-status", requestStatus)
}
func ArchivalURI(URI string) ZapTag {
	return NewStringTag("archival-URI", URI)
}
func ArchivalArchiveFailReason(archiveFailReason string) ZapTag {
	return NewStringTag("archival-archive-fail-reason", archiveFailReason)
}
func ArchivalDeleteHistoryFailReason(deleteHistoryFailReason string) ZapTag {
	return NewStringTag("archival-delete-history-fail-reason", deleteHistoryFailReason)
}
func ArchivalVisibilityQuery(query string) ZapTag {
	return NewStringTag("archival-visibility-query", query)
}
func ArchivalBlobKey(blobKey string) ZapTag {
	return NewStringTag("archival-blob-key", blobKey)
}
func ArchivalDeterministicConstructionCheckFailReason(deterministicConstructionCheckFailReason string) ZapTag {
	return NewStringTag("archival-deterministic-construction-check-fail-reason", deterministicConstructionCheckFailReason)
}
func ArchivalNonDeterministicBlobKey(nondeterministicBlobKey string) ZapTag {
	return NewStringTag("archival-non-deterministic-blob-key", nondeterministicBlobKey)
}
func ArchivalBlobIntegrityCheckFailReason(blobIntegrityCheckFailReason string) ZapTag {
	return NewStringTag("archival-blob-integrity-check-fail-reason", blobIntegrityCheckFailReason)
}
func ArchivalBlobstoreContextTimeout(blobstoreContextTimeout time.Duration) ZapTag {
	return NewDurationTag("archival-blobstore-context-timeout", blobstoreContextTimeout)
}
func TransportType(transportType string) ZapTag {
	return NewStringTag("transport-type", transportType)
}
func ActivityInfo(activityInfo interface{}) ZapTag {
	return NewAnyTag("activity-info", activityInfo)
}
func WorkflowTaskRequestId(s string) ZapTag {
	return NewStringTag("workflow-task-request-id", s)
}