package log

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

Package log should be removed after switching to use core framework log.

Index

Functions

func Fail

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

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

Failf logs the fail info.

func FailfWithOffset

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

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

Logf logs the info.

Source Files

logger.go

Version
v1.16.6
Published
Jan 17, 2020
Platform
js/wasm
Imports
4 packages
Last checked
5 minutes ago

Tools for package owners.