Skip to content

Releases: HannahMarsh/PrettyLogger

v1.0.3

Choose a tag to compare

@HannahMarsh HannahMarsh released this 02 Oct 16:19

Remove color for non-debug log level

v1.0.2

Choose a tag to compare

@HannahMarsh HannahMarsh released this 22 Aug 16:48
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

Choose a tag to compare

@HannahMarsh HannahMarsh released this 22 Aug 16:02

Update dependency

Initial release

Choose a tag to compare

@HannahMarsh HannahMarsh released this 22 Aug 15:59
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.