summaryrefslogtreecommitdiffstats
path: root/lib/agent/events.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-05 10:52:24 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-05 10:52:24 +0100
commitf75d24ca885690289c16adeac0e5c5e7bb56e36c (patch)
treeb7d66cd4cffed7d0c1070312bebe92209575419f /lib/agent/events.go
parent9194f6c934ab3af0a559290b9299f6be2d9b2269 (diff)
Improved silly logging.
Diffstat (limited to 'lib/agent/events.go')
-rw-r--r--lib/agent/events.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/agent/events.go b/lib/agent/events.go
index c316db8..df7015a 100644
--- a/lib/agent/events.go
+++ b/lib/agent/events.go
@@ -95,9 +95,7 @@ func (e *Events) Emit(evName string, data interface{},fromSid string) error {
return fmt.Errorf("Unsupported event type")
}
- if e.LogLevelSilly {
- e.Log.Debugf("Emit Event %s: %v", evName, data)
- }
+ e.LogSillyf("Emit Event %s: %v", evName, data)
firstErr = nil
evm := e.eventsMap[evName]