Documentation ¶
Overview ¶
Copyright © 2022 Roberto Hidalgo <chinampa@un.rob.mx> SPDX-License-Identifier: Apache-2.0
Copyright © 2022 Roberto Hidalgo <chinampa@un.rob.mx> SPDX-License-Identifier: Apache-2.0
Index ¶
- Variables
- func Configure(name string, level Level)
- func Debug(args ...any)
- func Debugf(format string, args ...any)
- func Error(args ...any)
- func Errorf(format string, args ...any)
- func Fatal(args ...any)
- func Fatalf(format string, args ...any)
- func Info(args ...any)
- func Infof(format string, args ...any)
- func Sub(name string) *logrus.Entry
- func Trace(args ...any)
- func Tracef(format string, args ...any)
- func Warn(args ...any)
- func Warnf(format string, args ...any)
- type Level
Constants ¶
This section is empty.
Variables ¶
View Source
var Main = logrus.WithContext(context.Background())
Functions ¶
Types ¶
type Level ¶
type Level int
Level is a log entry severity level.
const ( // LevelError is the most severe. LevelError Level = iota + 2 // LevelWarning happens when something is potentially off. LevelWarning // LevelInfo is regular information relayed back to the user. LevelInfo // LevelDebug is debugging information. LevelDebug // LevelTrace is verbose debugging information. LevelTrace )
Click to show internal directories.
Click to hide internal directories.