Skip to content

Commit

Permalink
simplified nop
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Zlobin committed Apr 15, 2021
1 parent 703ed0a commit bad7e93
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions simplified_nop.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package log

type SimplifiedNop struct{}

func (l SimplifiedNop) Debug(msg string, args ...interface{}) {}
func (l SimplifiedNop) Info(msg string, args ...interface{}) {}
func (l SimplifiedNop) Warn(msg string, args ...interface{}) {}
func (l SimplifiedNop) Error(msg string, args ...interface{}) {}

0 comments on commit bad7e93

Please sign in to comment.