Commit 6b724502 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e122e44d
......@@ -58,16 +58,8 @@ func running(ctxp *context.Context, name string) func(*error) {
}
/*
// RunningNoErrCtx is like Running but does not adjust error return with task prefix.
func RunningNoErrCtx(ctxp *context.Context, name string) func(*error) {
// XXX
}
// RunningfNoErrCtx is RunningNoErrCtx with formatting support.
func RunningfNoErrCtx(ctxp *context.Context, format string, argv ...interface{}) func(*error) {
}
*/
// XXX merge TraceBegin+TraceEnd into just -> `defer Trace(ctx)(&err)` ?
// (can log return lineno more precisely)
// TraceBegin traces beginning of a task.
func TraceBegin(ctx context.Context) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment