Documentation
¶
Index ¶
- func Init(name, environment, level string)
- func SetLogLevel(level string)
- type Logger
- func (l Logger) Debug(args ...interface{})
- func (l Logger) Error(args ...interface{})
- func (l Logger) Fatal(args ...interface{})
- func (l Logger) Info(args ...interface{})
- func (l Logger) Warn(args ...interface{})
- func (l Logger) WithContext(ctx context.Context) Logger
- func (l Logger) WithField(key string, value interface{}) Logger
- func (l Logger) WithFields(fields map[string]interface{}) Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(level string)
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
var (
I Logger
)
func (Logger) WithFields ¶
Click to show internal directories.
Click to hide internal directories.