func (t *Trace) Nest(msg string, fields ...Field) *Trace {
	newTrace := New(msg, fields...)
	if t != nil {
		newTrace.parentTrace = t
		t.traceItems = append(t.traceItems, newTrace)
	}
	return newTrace
}
// Nest adds a nested trace with the given message and fields and returns it.
// As a convenience, if the receiver is nil, returns a top level trace. This allows
// one to call FromContext(ctx).Nest without having to check if the trace
// in the context is nil.
Nest adds a nested trace with the given message and fields and returns it.
As a convenience, if the receiver is nil, returns a top level trace. This allows
one to call FromContext(ctx).Nest without having to check if the trace
in the context is nil.
// Nest adds a nested trace with the given message and fields and returns it . // As a convenience if the receiver is nil returns a top level trace . This allows // one to call FromContext ( ctx ) . Nest without having to check if the trace // in the context is nil .
func (t *Trace) Nest(msg string, fields ...Field) *Trace {
	newTrace := New(msg, fields...)
	if t != nil {
		newTrace.parentTrace = t
		t.traceItems = append(t.traceItems, newTrace)
	}
	return newTrace
}
func ( t * Trace ) Nest ( msg string , fields ... Field ) * Trace { newTrace := New ( msg , fields ... ) if t != nil { newTrace . parentTrace = t t . traceItems = append ( t . traceItems , newTrace ) } return newTrace }
Nest adds a nested trace with the given message and fields and returns it.
Nest adds a nested trace with the given message and fields and returns it .