Commit graph

12 commits

Author SHA1 Message Date
Alexander Neumann
d5020ac109 Fix debug functions 2015-06-24 20:00:01 +02:00
Alexander Neumann
5ae04b6834 Add last integration tests, remove testsuite 2015-06-21 17:40:22 +02:00
Alexander Neumann
813031a989 debug: Dynamically pad tag in debug log 2015-05-02 01:14:45 +02:00
Alexander Neumann
959da0a76a debug: Add location to log, improve formatting
Before:

    2015/05/02 00:38:46 [restic] main []string{"./restic", "backup", "."}

After:

    2015/05/02 00:47:42 [  restic]   1 main.go:176    main []string{"./restic", "backup", "-f", "."}
2015-05-02 00:48:26 +02:00
Alexander Neumann
9d29a61861 debug: init debug logger before init() methods run 2015-05-01 15:39:01 +02:00
Florian Weingarten
ca77655971 Refactor debug.go 2015-04-30 01:05:58 -04:00
Alexander Neumann
8e8f31d3fe debug: fix typos 2015-04-09 23:15:45 +02:00
Alexander Neumann
c9ee79fc54 DebugIf: only test function when tag is enabled 2015-03-15 14:19:37 +01:00
Alexander Neumann
6aed4035f5 Add BreakIf function 2015-03-15 14:00:28 +01:00
Alexander Neumann
8dc5c2296a debug: do not seek after creating log file 2015-02-08 14:46:29 +01:00
Alexander Neumann
7558e99dd5 Add newline to debug output 2015-02-07 17:04:20 +01:00
Alexander Neumann
25a214809b Refactor debug into debug module 2015-01-17 16:32:13 +01:00