fslog_instance_test.go 388 B

1234567891011121314
  1. package fslog
  2. import (
  3. "testing"
  4. )
  5. func TestFSLogInstanceToConsole(t *testing.T) {
  6. LoggerLever = LoggerLevelDebug
  7. Error("demo", "TestFSLogInstanceToConsole", "test", "error test")
  8. Debug("demo", "TestFSLogInstanceToConsole", "test", "debug test")
  9. Info("demo", "TestFSLogInstanceToConsole", "test", "info test")
  10. Warn("demo", "TestFSLogInstanceToConsole", "test", "warning test")
  11. }