Skip to content

Commit

Permalink
Meta: drop .Enabled, rely on embeded
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua T Corbin committed Nov 20, 2016
1 parent 0df5f02 commit 1410575
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ func (m Meta) Clone() Meta {
return m
}

// Enabled returns true if logging a message at a particular level is enabled.
func (m Meta) Enabled(lvl Level) bool {
return m.LevelEnabler.Enabled(lvl)
}

// Check returns a CheckedMessage logging the given message is Enabled, nil
// otherwise.
func (m Meta) Check(log Logger, lvl Level, msg string) *CheckedMessage {
Expand Down

0 comments on commit 1410575

Please sign in to comment.