mirror of
https://github.com/restic/restic.git
synced 2025-12-24 16:49:52 -05:00
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) {}
|