Add log system

This commit is contained in:
arnaucube
2020-08-18 11:17:12 +02:00
parent 5d4840ce5c
commit fab3b865bb
4 changed files with 139 additions and 0 deletions

14
log/log_test.go Normal file
View File

@@ -0,0 +1,14 @@
package log
import (
"testing"
)
func TestLog(t *testing.T) {
Info("Test log.Infow", "value", 10)
Infof("Test log.Infof %d", 10)
Debugf("Test log.Debugf %d", 10)
Error("Test log.Error", "value", 10)
Errorf("Test log.Errorf %d", 10)
Warnf("Test log.Warnf %d", 10)
}