From e2dff63faaa3a5a4ad6fe1b160185b83c0dd0535 Mon Sep 17 00:00:00 2001 From: Patrick Hemmer Date: Mon, 12 Jan 2015 17:20:11 -0500 Subject: [PATCH] Add missing `(*Entry) Warning()` function --- entry.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entry.go b/entry.go index e164eec..17fe6f7 100644 --- a/entry.go +++ b/entry.go @@ -126,6 +126,10 @@ func (entry *Entry) Warn(args ...interface{}) { } } +func (entry *Entry) Warning(args ...interface{}) { + entry.Warn(args...) +} + func (entry *Entry) Error(args ...interface{}) { if entry.Logger.Level >= ErrorLevel { entry.log(ErrorLevel, fmt.Sprint(args...))