Skip to content

Releases: fortio/log

v1.9.3

03 Aug 00:51
d41a448
Compare
Choose a tag to compare

What's Changed

  • Changing color output again use [DBG] etc for levels instead of Debg>, use rN for go Routine id instead of [N] (#43)

Full Changelog: v1.9.2...v1.9.3

v1.9.2

02 Aug 20:33
1095950
Compare
Choose a tag to compare

What's Changed

  • Have a prefix even for tools to avoid the I for Info next to a verb looking off (#42)

color

Full Changelog: v1.9.1...v1.9.2

v1.9.1

01 Aug 21:30
0f14c24
Compare
Choose a tag to compare

What's Changed

  • (Also) Update LevelToColor array, for logc (#41)

Full Changelog: v1.9.0...v1.9.1

v1.9.0

01 Aug 01:28
a05b03a
Compare
Choose a tag to compare

What's Changed

  • Allow caller code to use Colors directly without if - e.g. log.Colors.Green is either green ansi code or empty string based on color mode (#40)

Full Changelog: v1.8.1...v1.9.0

v1.8.1

22 Jul 00:43
c0e607f
Compare
Choose a tag to compare

What's Changed

  • Always log the host/authority when logging http requests (#38)
  • Add thread/goroutine id in JSON and color console mode (turn off with log.Config.GoroutineID = false (#37)
  • Use short field name for that ID: r (#39) [thus making 1.8.0 tag a pre release]

Credits go to @kortschak and @LaevusDexter for the dark arts code in goroutine (imported from https://github.com/kortschak/goroutine/)

Full Changelog: v1.7.0...v1.8.1

v1.8.0

22 Jul 00:14
840b0d3
Compare
Choose a tag to compare
v1.8.0 Pre-release
Pre-release

Pre-release not to be used as go routine id field was called grid initially which is too long and weird (not that the new one in 1.8.1, r, isn't weird, naming is hard - see #39 )

What's Changed

  • Always log the host/authority when logging http requests (#38)
  • Add thread/goroutine id in JSON and color console mode (turn off with log.Config.GoroutineID = false (#37)

Credits go to @kortschak and @LaevusDexter for the dark arts code in goroutine (imported from https://github.com/kortschak/goroutine/)

Full Changelog: v1.7.0...v1.8.0

v1.7.0

07 Jul 01:21
7638511
Compare
Choose a tag to compare

What's Changed

  • Export colors as for instance log.Colors.Red (for logc mostly) by @ldemailly in #35

Full Changelog: v1.6.0...v1.7.0

v1.6.0

06 Jul 22:03
df61874
Compare
Choose a tag to compare

What's Changed

  • Color output on console (#34)

image

Full Changelog: v1.5.0...v1.6.0

v1.5.0

26 Jun 20:59
42530a9
Compare
Choose a tag to compare

What's Changed

  • Using "ts":sec.usec (float64) as format instead of usec since epoch (int64) #32

Full Changelog: v1.4.1...v1.5.0

v1.4.1

20 Jun 22:54
aa91f49
Compare
Choose a tag to compare

What's Changed

  • log.Printf was logging to stderr directly with text ts format even in JSON mode, confusing json parsers (#31)

Full Changelog: v1.4.0...v1.4.1