diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-14 15:37:50 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-14 15:41:44 +0200 |
commit | 33967236e18c33d0d83b34b76f8238c3d588b21d (patch) | |
tree | 9bd3334b6eabb7cd3b07d7efb9c4c90aa8726a6d /main_test.go | |
parent | d85847ec99d44e1010a95c71579a754ac9f7c646 (diff) | |
download | dna-backup-33967236e18c33d0d83b34b76f8238c3d588b21d.tar.gz dna-backup-33967236e18c33d0d83b34b76f8238c3d588b21d.zip |
logger add panic + colors & remove ln variants & use it
Diffstat (limited to 'main_test.go')
-rw-r--r-- | main_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main_test.go b/main_test.go index 57db053..27a3d65 100644 --- a/main_test.go +++ b/main_test.go @@ -4,6 +4,8 @@ import ( "log" "os" "testing" + + "github.com/n-peugnet/dna-backup/logger" ) func TestMain(m *testing.M) { @@ -14,7 +16,7 @@ func TestMain(m *testing.M) { } func setup() { - log.SetFlags(log.Lshortfile) + logger.SetFlags(log.Lshortfile) } func shutdown() {} |