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) { ...@@ -58,16 +58,8 @@ func running(ctxp *context.Context, name string) func(*error) {
} }
/* // XXX merge TraceBegin+TraceEnd into just -> `defer Trace(ctx)(&err)` ?
// RunningNoErrCtx is like Running but does not adjust error return with task prefix. // (can log return lineno more precisely)
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) {
}
*/
// TraceBegin traces beginning of a task. // TraceBegin traces beginning of a task.
func TraceBegin(ctx context.Context) { 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