Kataras Golog Versions Save

A high-performant Logging Foundation for Go Applications. X3 faster than the rest leveled loggers.

v0.1.11

6 months ago

v0.1.9

10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/kataras/golog/compare/v0.1.8...v0.1.9

v0.1.8

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/kataras/golog/compare/v0.1.7...v0.1.8

v0.1.7

3 years ago

Minor version

v0.1.6

3 years ago

Wed 09 Decemember | v0.1.6

Fix Clone not inherite the parent's formatters field (fixes SetLevelFormat on childs).

v0.1.5

3 years ago

Introduce the Formatter interface. Example.

  • Add Logger.RegisterFormatter(Formatter) to register a custom Formatter.
  • Add Logger.SetFormat(formatter string, opts ...interface{}) to set the default formatter for all log levels.
  • Add Logger.SetLevelFormat(levelName string, formatter string, opts ...interface{}) to change the output format for the given "levelName".
  • Remove the golog.JSON handler, introduced 12 hours ago, as it's now useless.

v0.1.4

3 years ago
  • 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(" ")).

v0.1.3

3 years ago

Add SetLevelOutput(level string, w io.Writer) to customize writer per level.

v0.1.2

3 years ago

Logger.Child accepts an interface{} instead of string. This way you can register children for pointers without forcing to naming them. If the key is string or completes the fmt.Stringer interface, then it's used as prefix (like always did).