Add missing `(*Entry) Warning()` function

This commit is contained in:
Patrick Hemmer 2015-01-12 17:20:11 -05:00
parent d2f9ffa1d9
commit e2dff63faa
1 changed files with 4 additions and 0 deletions

View File

@ -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...))