Skip to content

v0.1.4

Compare
Choose a tag to compare
@kataras kataras released this 06 Sep 10:04
· 24 commits to master since this release
  • Add Logger.SetLevelOutput(levelName string, w io.Writer) to customize the writer per level. (v0.1.3)
  • Add Logger.GetLevelOutput(levelName string) io.Writer to get the leveled output or the default one.
  • Add JSON(indent string) Handler as a helper for JSON format: Logger.Handle(golog.JSON(" ")).