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