From 31fe26085f1424a217edf2d9c0a2e3b007b6179a Mon Sep 17 00:00:00 2001 From: James Harris Date: Tue, 9 Apr 2024 08:55:50 +1000 Subject: [PATCH] Add offset from when the logger was created. --- CHANGELOG.md | 7 ++++++- spruce.go | 18 +++++++++++++++++- spruce_test.go | 22 +++++++++++++--------- 3 files changed, 36 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61b6a02..595887d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,14 +10,19 @@ The format is based on [Keep a Changelog], and this project adheres to [Keep a Changelog]: https://keepachangelog.com/en/1.0.0/ [Semantic Versioning]: https://semver.org/spec/v2.0.0.html +## [0.1.1] - 2024-04-09 + +- Include the elapsed duration since the logger was created in each log message. + ## [0.1.0] - 2024-03-02 -- Initial release +- Initial release. [Unreleased]: https://github.com/dogmatiq/spruce [0.1.0]: https://github.com/dogmatiq/spruce/releases/tag/v0.1.0 +[0.1.1]: https://github.com/dogmatiq/spruce/releases/tag/v0.1.1