Skip to content

Commit

Permalink
Deprecate Warning and Warningf
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu committed Jun 24, 2019
1 parent a1500d8 commit 1e148b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions log.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,12 @@ type eventLogger struct {
// TODO add log-level
}

// Deprecated: use Warn
func (el *eventLogger) Warning(args ...interface{}) {
el.Warn(args...)
}

// Deprecated: use Warnf
func (el *eventLogger) Warningf(format string, args ...interface{}) {
el.Warnf(format, args...)
}
Expand Down

0 comments on commit 1e148b8

Please sign in to comment.