func (this *Event) Time() time.Time {
	return this.eventTime
}
Time returns the time info
package kanzi
import (
	"fmt"
	"time"
)
const (
	EVT_COMPRESSION_START     = 0  
	EVT_DECOMPRESSION_START   = 1  
	EVT_BEFORE_TRANSFORM      = 2  
	EVT_AFTER_TRANSFORM       = 3  
	EVT_BEFORE_ENTROPY        = 4  
	EVT_AFTER_ENTROPY         = 5  
	EVT_COMPRESSION_END       = 6  
	EVT_DECOMPRESSION_END     = 7  
	EVT_AFTER_HEADER_DECODING = 8  
)
type Event struct {
	eventType int
	id        int
	size      int64
	hash      uint32
	hashing   bool
	eventTime time.Time
	msg       string
}
func NewEventFromString(evtType, id int, msg string, evtTime time.Time) *Event {
	if evtTime.IsZero() {
		evtTime = time.Now()
	}
	return &Event{eventType: evtType, id: id, size: 0, msg: msg, eventTime: evtTime}
}
func NewEvent(evtType, id int, size int64, hash uint32, hashing bool, evtTime time.Time) *Event {
	if evtTime.IsZero() {
		evtTime = time.Now()
	}
	return &Event{eventType: evtType, id: id, size: size, hash: hash,
		hashing: hashing, eventTime: evtTime}
}
func (this *Event) Type() int {
	return this.eventType
}
func (this *Event) ID() int {
	return this.id
}