mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 08:44:01 +03:00
Add new BindJSON method to a logger
This commit is contained in:
@@ -245,6 +245,9 @@ type Logger interface {
|
||||
// BindStr binds new string parameter to a new logger instance.
|
||||
BindStr(name, value string) Logger
|
||||
|
||||
// BindJSON binds a new JSON-encoded string to a new logger instance.
|
||||
BindJSON(name, value string) Logger
|
||||
|
||||
// Printf is to support log.Logger behavior.
|
||||
Printf(format string, args ...interface{})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user