Discover Packages
github.com/vmware/dispatch
pkg
trace
package
Version:
v0.1.13
Opens a new window with list of versions in this module.
Published: May 8, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 83
Opens a new window with list of known importers.
Documentation
Documentation
¶
Logger instance used by trace to log messages.
Trace encapsulates begin and end
can be called like: defer trace.Trace("method name")()
func Tracef(format string , a ...interface{}) func()
Tracef encapsulates begin and end
can be called like: defer trace.Tracef("method name %s", param)()
Like Trace but takes a format string and parameters.
Message is a trace object used to grab run-time state
Begin starts the trace. Msg is the msg to log.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.