Documentation
¶
Overview ¶
Package log enables logging for Iter8.
Package log provides primitives for logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Level = logrus.InfoLevel
Level is the log level for Iter8 CLI
Functions ¶
This section is empty.
Types ¶
type Iter8Logger ¶
type Iter8Logger struct {
*logrus.Logger
}
Iter8Logger inherits all methods from logrus logger. Provides additional methods for standardized Iter8 logging.
var Logger *Iter8Logger
Logger to be used in all of Iter8.
func (*Iter8Logger) WithIndentedTrace ¶ added in v0.10.9
func (l *Iter8Logger) WithIndentedTrace(t string) *logrus.Entry
WithIndentedTrace yields a log entry with a formatted indent embedded in it.
func (*Iter8Logger) WithStackTrace ¶
func (l *Iter8Logger) WithStackTrace(t string) *logrus.Entry
WithStackTrace yields a log entry with a formatted stack trace field embedded in it.
type StackTrace ¶
type StackTrace struct {
// Trace is the raw trace
Trace string
// contains filtered or unexported fields
}
StackTrace is the trace from external components like a shell scripts run by an Iter8 task.
Click to show internal directories.
Click to hide internal directories.