Example #1
0
func (o *ObjectRequest) Log(message string) {
	if o.IsLogEnabled {
		o.MessageStack = append(o.MessageStack, message)
		fmt.Println(message)
		common.PublishLog("ObjectStoreLog.log", message)
	}
}
Example #2
0
func (s *NotifierRequest) Log(message string) {
	fmt.Println(message)
	common.PublishLog("DuoNotifierLog.log", message)
}
Example #3
0
func (s *ServiceRequest) Log(message string) {
	s.MessageStack = append(s.MessageStack, message)
	common.PublishLog("ServiceConsole.log", message)
}