status-go/geth/log/log_test.go
Marin 3b316c0700 Beta/refactor logging#221 (#244)
Added a lightweight logger wrapper around go-ethereum/log which adds StatusIM prefix to all messages and allows to clearly distinguish between status-go and go-ethereum logs.

Logs under vendor/go-ethereum left unchanged because those pieces of code might undergo huge refactoring in the near term.
2017-08-10 20:35:58 +07:00

19 lines
254 B
Go

// log_test
package log
import (
"testing"
)
func TestLogger(t *testing.T) {
t.Log("Testing log package..")
Trace("Trace Message")
Debug("Debug Message")
Info("Info Message")
Warn("Warn Message")
Error("Error Message")
Crit("Crit Message")
}