2019-08-23 14:41:56 +08:00
|
|
|
package event
|
2019-08-22 19:31:46 +08:00
|
|
|
|
|
|
|
// GetLoggerOption -
|
|
|
|
func GetLoggerOption(status string) map[string]string {
|
|
|
|
return map[string]string{"step": "appruntime", "status": status}
|
|
|
|
}
|
|
|
|
|
|
|
|
//GetCallbackLoggerOption get callback logger
|
|
|
|
func GetCallbackLoggerOption() map[string]string {
|
|
|
|
return map[string]string{"step": "callback", "status": "failure"}
|
|
|
|
}
|
|
|
|
|
|
|
|
//GetTimeoutLoggerOption get callback logger
|
|
|
|
func GetTimeoutLoggerOption() map[string]string {
|
|
|
|
return map[string]string{"step": "callback", "status": "timeout"}
|
|
|
|
}
|
|
|
|
|
|
|
|
//GetLastLoggerOption get last logger
|
|
|
|
func GetLastLoggerOption() map[string]string {
|
|
|
|
return map[string]string{"step": "last", "status": "success"}
|
|
|
|
}
|