kubernetes: k8s.io/kubernetes/test/e2e/framework/log Index | Files

package log

import "k8s.io/kubernetes/test/e2e/framework/log"

Package log will be removed after switching to use core framework log. Do not make further changes here!


Package Files


func Fail Uses

func Fail(msg string, callerSkip ...int)

Fail is a replacement for ginkgo.Fail which logs the problem as it occurs and then calls ginkgowrapper.Fail.

func Failf Uses

func Failf(format string, args ...interface{})

Failf logs the fail info.

func FailfWithOffset Uses

func FailfWithOffset(offset int, format string, args ...interface{})

FailfWithOffset calls "Fail" and logs the error at "offset" levels above its caller (for example, for call chain f -> g -> FailfWithOffset(1, ...) error would be logged for "f").

func Logf Uses

func Logf(format string, args ...interface{})

Logf logs the info.

Package log imports 4 packages (graph) and is imported by 444 packages. Updated 2019-11-07. Refresh now. Tools for package owners.