Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLogLevel = logrus.WarnLevel
DefaultLogLevel is logrus warn level
Variables ¶
View Source
var AllLevels = logrus.AllLevels
View Source
var ContextKey = contextKey{}
Functions ¶
func Entry ¶
Entry takes an context.Context and constructs a logrus.Entry from it, adding fields for task and subtask information
func IsDebugLevelEnabled ¶ added in v1.32.0
func IsDebugLevelEnabled() bool
IsDebugLevelEnabled returns true if debug level log is enabled.
func IsTraceLevelEnabled ¶ added in v1.32.0
func IsTraceLevelEnabled() bool
IsTraceLevelEnabled returns true if trace level log is enabled.
func KanikoLogLevel ¶ added in v1.32.0
KanikoLogLevel makes sure kaniko logs at least at Info level and at most Debug level (trace doesn't work with Kaniko)
Types ¶
type EventContext ¶
Click to show internal directories.
Click to hide internal directories.