mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Add log system
This commit is contained in:
14
log/log_test.go
Normal file
14
log/log_test.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user