forked from TrueCloudLab/restic
48751e1935
The environment variable DEBUG_TAGS can be used to control what is printed on stderr. Example: DEBUG_TAGS="+all,-Archiver.*" ./restic backup foo The variable DEBUG_BREAK can be used to set a breakpoint (implemented using SIGSTOP): DEBUG_BREAK=Archiver.Snapshot ./restic backup foo
7 lines
122 B
Go
7 lines
122 B
Go
// +build !debug
|
|
|
|
package restic
|
|
|
|
func debug(tag string, fmt string, args ...interface{}) {}
|
|
|
|
func debug_break(string) {}
|