mirror of
https://github.com/octoleo/restic.git
synced 2024-10-31 19:02:32 +00:00
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
8 lines
122 B
Go
8 lines
122 B
Go
// +build !debug
|
|
|
|
package restic
|
|
|
|
func debug(tag string, fmt string, args ...interface{}) {}
|
|
|
|
func debug_break(string) {}
|