log_test.go 198 B

123456789101112131415161718
  1. package log
  2. import (
  3. "testing"
  4. )
  5. // TestLogger test
  6. func TestLogger(t *testing.T) {
  7. t.Log("test simple1")
  8. var fx func() string
  9. fx = func() string {
  10. return "XXXX"
  11. }
  12. Trace("HELO ", fx)
  13. }