// Enter logs an entry to a function or code block
Enter logs an entry to a function or code block
// Enter logs an entry to a function or code block
func (rl *ResourceLogger) Enter(
	name string, 
	additionalValues ...interface{},
) {
	if rl.log.V(1).Enabled() {
		rl.blockDepth++
		depth := strings.Repeat(">", rl.blockDepth)
		msg := depth + " " + name
		vals := expandResourceFields(rl.res, additionalValues...)
		rl.log.V(1).Info(msg, vals...)
	}
}
func ( rl * ResourceLogger ) Enter ( name string , additionalValues ... interface { } , ) { if rl . log . V ( 1 ) . Enabled ( ) { rl . blockDepth ++ depth := strings . Repeat ( " " , rl . blockDepth ) msg := depth + " " + name vals := expandResourceFields ( rl . res , additionalValues ... ) rl . log . V ( 1 ) . Info ( msg , vals ... ) } }
Enter logs an entry to a function or code block
Enter logs an entry to a function or code block
// name of the function or code block we're entering