Skip to content

Commit

Permalink
add wanr
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed Sep 14, 2023
1 parent eb6e72b commit 4a512bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ type Logger interface {
// The key of the tuple must be a string.
Info(msg string, keyVals ...any)

// Warn takes a message and a set of key/value pairs and logs with level WARN.
// The key of the tuple must be a string.
Warn(msg string, keyVals ...any)

// Error takes a message and a set of key/value pairs and logs with level ERR.
// The key of the tuple must be a string.
Error(msg string, keyVals ...any)
Expand Down

0 comments on commit 4a512bd

Please sign in to comment.