diff --git a/logger.go b/logger.go index 8833756..9d65fb3 100644 --- a/logger.go +++ b/logger.go @@ -14,13 +14,13 @@ type EventReceiver struct { // Event receives a simple notification when various events occur func (n *EventReceiver) Event(eventName string) { - n.logger.WithCallDepth(3).V(1).Info(eventName) + n.logger.WithCallDepth(2).V(1).Info(eventName) } // EventKv receives a notification when various events occur along with // optional key/value data func (n *EventReceiver) EventKv(eventName string, kvs map[string]string) { - n.logger.WithCallDepth(3).V(1).Info(eventName) + n.logger.WithCallDepth(2).V(1).Info(eventName) } // EventErr receives a notification of an error if one occurs