Skip to content

Releases: HannahMarsh/PrettyLogger

v1.0.3

02 Oct 16:19

Choose a tag to compare

Remove color for non-debug log level

v1.0.2

22 Aug 16:48

Choose a tag to compare

Update logging, add slog integration, and format function names.

This change integrates slog logging and adds function name formatting to the PrettyLogger. In `logrusAdapter.go`, it adds support for slog log records and integrates slogs logging functionality. It also implements a function name coloring mechanism using the `slog` package. In `prettyLogger.go`, it updates the `interfaceToString` function to properly display struct field values.

v1.0.1

22 Aug 16:02

Choose a tag to compare

Update dependency

Initial release

22 Aug 15:59

Choose a tag to compare

Update color formatter and example code, add more color options.

This commit updates the color formatter in colorFormatter.go by adding more color options such as bright red, bright yellow, bright green, bright cyan, and bright white. The example code in main.go has been updated to demonstrate the use of these new color options. Additionally, the import statements in go.mod and go.sum have been updated to reflect the changes.