Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogger ¶
func NewLogger(writer io.StringWriter, logLevel LogLevel) *defaultLogger
NewLogger init Logger instance
Types ¶
type Logger ¶
type Logger interface { Debug(ctx context.Context, msg string, args ...interface{}) Info(ctx context.Context, msg string, args ...interface{}) Warn(ctx context.Context, msg string, args ...interface{}) Error(ctx context.Context, msg string, args ...interface{}) }
Logger logger interface
Click to show internal directories.
Click to hide internal directories.