Documentation ¶
Overview ¶
Package log is the package wrapping logrus
Index ¶
- Variables
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Exit(code int)
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func SetLevelByName(level string) error
- func Trace(args ...interface{})
- func Tracef(format string, args ...interface{})
- func Warning(args ...interface{})
- func Warningf(format string, args ...interface{})
- func WithError(err error) *logrus.Entry
- func WithField(key string, value interface{}) *logrus.Entry
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Logger is the logger used in cloudbuild. You can replace or configure it as you like. Logger *logrus.Logger )
Functions ¶
func SetLevelByName ¶
SetLevelByName configures the log level with specified name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.