fslog_instance_test.go 241 B

123456789101112131415
  1. package fslog
  2. import (
  3. "github.com/pkg/errors"
  4. "testing"
  5. )
  6. func TestFSLogInstanceToConsole(t *testing.T) {
  7. LoggerLever = LoggerLevelDebug
  8. Error(errors.New("error test"))
  9. Debug("debug test")
  10. Info("info test")
  11. Warn("warning test")
  12. }