Content inside fengaldar
(The raw file follows this syntax highlighted file.)
package main
import (
fen "git.ondollo.com/fengaldar"
)
func main() {
l := fen.NewLogger()
l.Println("Println")
l.Log("Log", fen.LogContext{"a": "b", "c": "d"})
l = fen.NewJSONLogger()
l.Println("Println")
l.Log("Log", fen.LogContext{"a": "b", "c": "d"})
}
package main import ( fen "git.ondollo.com/fengaldar" ) func main() { l := fen.NewLogger() l.Println("Println") l.Log("Log", fen.LogContext{"a": "b", "c": "d"}) l = fen.NewJSONLogger() l.Println("Println") l.Log("Log", fen.LogContext{"a": "b", "c": "d"}) }