Exemplo n.º 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)
	}
}
Exemplo n.º 2
0
func (s *NotifierRequest) Log(message string) {
	fmt.Println(message)
	common.PublishLog("DuoNotifierLog.log", message)
}
Exemplo n.º 3
0
func (s *ServiceRequest) Log(message string) {
	s.MessageStack = append(s.MessageStack, message)
	common.PublishLog("ServiceConsole.log", message)
}