log/log_test.go

27 lines
382 B
Go
Raw Normal View History

2016-11-08 07:32:10 +00:00
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")
}