This commit is contained in:
2
main.go
2
main.go
@@ -109,7 +109,7 @@ func getEvents(eventTypes []string, entities []types.ManagedObjectReference, beg
|
||||
returnEvents = append(returnEvents, *event)
|
||||
//kind := reflect.TypeOf(events[i]).Elem().Name()
|
||||
//log.Printf("%d [%s] [%s] %s\n", event.Key, event.CreatedTime.In(location).Format(time.ANSIC), kind, event.FullFormattedMessage)
|
||||
log.Printf("%d [%s] %s\n", event.Key, event.CreatedTime.In(location).Format(time.ANSIC), event.FullFormattedMessage)
|
||||
log.Printf("%d [%s] %s\n", event.Key, event.CreatedTime.Format(time.ANSIC), event.FullFormattedMessage)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user