Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Mar 16:14
· 60 commits to main since this release

BREAKING CHANGE

  • Drop functional options.
  • Introduce log.NewWithOptions(io.Writer, log.Options) and log.Options{} to create a new logger with custom options.
  • Add format methods to format the log message just like fmt.Printf().
  • Add log.WithPrefix(string) that returns a new sub-logger with prefix.
  • Parse level from string log.ParseLevel(string)
  • Custom key/value styles.
  • Caller source formatter.
  • And a bunch of bug fixes.

Changelog

New Features

Bug fixes

Dependency updates

  • e6729aa: feat(deps): bump github.com/charmbracelet/lipgloss from 0.7.0 to 0.7.1 (@dependabot[bot])
  • 6630e96: feat(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (@dependabot[bot])

Documentation updates

Other work


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.