mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
3b316c0700
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.
19 lines
254 B
Go
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")
|
|
}
|