func Test_CreateLog(t *testing.T) { e := llog.New(f, llog.INFO) if e != nil { t.Error("failed to create log : " + e.Error()) return } pm("", "Start of test") llog.Close() }
func Example() { e := llog.New("/foo/bar", llog.INFO) if e != nil { fmt.Println("failed to create log : " + e.Error()) return } llog.PrintInfo("My ID", "Test of llog") llog.Close() }
func Test_EndLogging(t *testing.T) { pm("", "End of test") llog.Close() }