Documentation ¶ Index ¶ func Wrap(l log.Logger) trace.Wrapper Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Wrap ¶ func Wrap(l log.Logger) trace.Wrapper Wrap creates a wrapper for a log15 logger. All events will be logged. Span event will be logged with their duration. If a level has been set, it will be used. t := trace.New("name", []trace.Wrapper{log15.Wrap(log.DefaultLogger)}) Types ¶ This section is empty. Source Files ¶ View all Source files log.go Click to show internal directories. Click to hide internal directories.