log/log_test.go
2016-11-08 16:32:10 +09:00

27 lines
382 B
Go

package log
import (
"testing"
"fmt"
)
func TestLoadLogConfig(t *testing.T) {
path := "./seelogconfig.xml"
err := LoadLogConfig(path)
if err != nil {
fmt.Println("Error Config")
}
defer Flush()
Debug("Debugddddddddd")
Warn("Warnddddd")
Error("Errorddddd")
Info("Infoddd")
Critical("Criticalddd")
//Fatal("Fatal")
}