Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OutputFormatJSON is used to define output format as json OutputFormatJSON OutputFormat = "json" // OutputFormatPlain is used to define output format as plain text OutputFormatPlain OutputFormat = "plain" // KeyError is used as a named key for a log message with error. KeyError = "error" // KeyResult is used as a named key for a log message with result. KeyResult = "result" // KeySubAccountID is used as a named key for a log message with subaccount ID. KeySubAccountID = "SubAccountID" // KeyRuntimeID is used as a named key for a log message with runtime ID. KeyRuntimeID = "RuntimeID" // KeyRuntimeState is used as a named key for a log message with runtime state. KeyRuntimeState = "RuntimeState" // KeyProvisioningStatus is used as a named key for a log message with provisioning status. KeyProvisioningStatus = "ProvisioningStatus" // KeyDeprovisioningStatus is used as a named key for a log message with deprovisioning status. KeyDeprovisioningStatus = "DeprovisioningStatus" // KeyWorkerID is used as a named key for a log message with worker ID. KeyWorkerID = "WorkerID" // KeyRetry is used as named key for a log message which indicates the step will be retried KeyRetry = "willRetry" // KeyRequeue is used as named key for a log message which indicates that it will be requeued KeyRequeue = "requeue" // KeyShoot is used as a named key for a log message with shoot. KeyShoot = "shoot" // ValueFail is used as a value for a log message with failure. ValueFail = "fail" // ValueSuccess is used as a value for a log message with success. ValueSuccess = "success" // ValueTrue is used as a value for a message with true status ValueTrue = "true" // ValueFalse is used as a value for a message with true status ValueFalse = "false" )
Variables ¶
This section is empty.
Functions ¶
func SetOutputFormat ¶
func SetOutputFormat(of OutputFormat)
SetOutputFormat sets the log output format
Types ¶
type OutputFormat ¶
type OutputFormat string
Click to show internal directories.
Click to hide internal directories.