Repository navigation
Releases
v0.2.2
Changelog
New Features
- 96a7043: feat(calleroffset): added option to config custom caller offset (@waffle69691337)
Bug fixes
- dc01e9b: fix(ci): remove soft-serve workflow (@aymanbagabas)
Dependency updates
- 347b8ef: feat(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (@dependabot[bot])
Documentation updates
- afe34d9: docs: license (@caarlos0)
- ffabf4a: docs: update README.md (@aymanbagabas)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.2.1
Changelog
Bug fixes
- 89a61d4: fix(ci): setup go before lint (@aymanbagabas)
- 6e534d0: fix(output): cache lipgloss renderers (#52) (@aymanbagabas)
Dependency updates
- 8ca9b06: feat(deps): bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 (@dependabot[bot])
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.2.0
BREAKING CHANGE
- Drop functional options.
- Introduce
log.NewWithOptions(io.Writer, log.Options)andlog.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
- ecd1551: feat(caller): add caller formatter (@aymanbagabas)
- 5315620: feat(examples): put examples in a separate module (@aymanbagabas)
- 2285bce: feat(log): add format methods (@aymanbagabas)
- 40c0aef: feat(log): set custom format keys (@aymanbagabas)
- 99fa380: feat(log): sub-logger with prefix (@aymanbagabas)
- 169c012: feat(styles): style certain keys (@aymanbagabas)
- 391e751: feat(text): style certain values (@aymanbagabas)
- a2100d4: feat(text): use lipgloss renderer (@aymanbagabas)
- baccac6: feat: parse level from string (#11) (@gozeloglu)
Bug fixes
- 632a426: fix(go): make log compliant with go1.15 (@aymanbagabas)
- cc3834d: fix(text): style multiline value before rendering (@aymanbagabas)
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
- 26aaaae: docs: add codecov & go report badges (@aymanbagabas)
- 5da9367: docs: add format methods (@aymanbagabas)
- 6b05768: docs: add light background gifs (@aymanbagabas)
- 65ede51: docs: add missing info level info to README (@meowgorithm)
- a9f75d2: docs: add styles section and examples (@aymanbagabas)
- 07a423f: docs: update gifys (@aymanbagabas)
- 9519a70: docs: update readme examples (@aymanbagabas)
- b6dcc9b: docs: update styles example (@aymanbagabas)
- 462efd0: docs: update sublogger gify (@aymanbagabas)
- 17a651c: docs: use picture tags (@aymanbagabas)
Other work
- 39de9ca: add batch and chocolate chips NV pairs (@tomdotorg)
- 761ad44: fix(text) escape value before rendering styles (#20) (@tombell)
- 395e398: ref(log): reduce struct props (@aymanbagabas)
- 010ab90: ref(log): use log options to initialize new loggers (@aymanbagabas)
- 685b3e2: revert: dark mode gifs (@maaslalani)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.1.2
Changelog
New Features
- 169c012: feat(styles): style certain keys (@aymanbagabas)
- baccac6: feat: parse level from string (#11) (@gozeloglu)
Bug fixes
- 44db2e7: fix(go): make log compliant with go1.15 (@aymanbagabas)
- cc3834d: fix(text): style multiline value before rendering (@aymanbagabas)
Dependency updates
- 6630e96: feat(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (@dependabot[bot])
Documentation updates
- 6b05768: docs: add light background gifs (@aymanbagabas)
- a9f75d2: docs: add styles section and examples (@aymanbagabas)
- 462efd0: docs: update sublogger gify (@aymanbagabas)
- 17a651c: docs: use picture tags (@aymanbagabas)
Other work
- 39de9ca: add batch and chocolate chips NV pairs (@tomdotorg)
- 761ad44: fix(text) escape value before rendering styles (#20) (@tombell)
- c158121: ref(log): reduce struct props (@aymanbagabas)
- 685b3e2: revert: dark mode gifs (@maaslalani)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.1.1
Bug fixes, et al...
Changelog
Bug fixes
- 84bab1c: fix(level): set debug int value to -1 (@aymanbagabas)
- e08a87d: fix(log): add semicolon after prefix (@aymanbagabas)
- d32241b: fix(log): ensure disabling styles for non-terminal outputs (@aymanbagabas)
Documentation updates
- 2d80948: docs: add levels and structured subsections (@aymanbagabas)
- cf129cc: docs: install instructions (#7) (@caarlos0)
- 298646b: docs: separate go get and import instructions (@maaslalani)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.1.0
Log: a minimal, colorful Go logging library. Log gives you leveled, structured, human readable, customizable logging for your Go applications. Use it to spruce up your logs in your HTTP servers, CLIs and TUIs!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.0.2
Changelog
New Features
- 8e40650: feat(ci): add goreleaser config (@aymanbagabas)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
