fslog_instance_test.go 338 B

12345678910111213141516
  1. package fslog
  2. import (
  3. "testing"
  4. )
  5. func TestFSLogInstanceToConsole(t *testing.T) {
  6. Error("demo", "main.go",
  7. "main", "", "test", "error test")
  8. Debug("demo", "main.go",
  9. "main", "", "test", "debug test")
  10. Info("demo", "main.go",
  11. "main", "", "test", "info test")
  12. Warning("demo", "main.go",
  13. "main", "", "test", "warning test")
  14. }