Skip to content

Releases: randlabs/go-logger

Release v2.0.2

08 Jan 23:53
2e78e28
Compare
Choose a tag to compare
  • Updated dependencies

Release v2.0.1

21 Nov 21:21
51acd5f
Compare
Choose a tag to compare
  • Minor improvements.
  • Added mock syslog server for testing.
  • Updated dependencies.

Release v2.0.0

30 Jul 16:38
6dcc0c2
Compare
Choose a tag to compare
  • Some refactoring.

Release v1.2.3

22 Jun 16:22
5752cc6
Compare
Choose a tag to compare
  • Applied static-check tool.

Release v1.2.2

07 May 00:09
10c9809
Compare
Choose a tag to compare
  • Added documentation.

Release v1.2.1

21 Apr 00:58
3b5c56d
Compare
Choose a tag to compare
  • Syslog logic moved to a goroutine in order to avoid undesired delays on the routines sending messages.
  • Updated dependencies.
  • Code beautify.

Release v1.2.0

15 Apr 21:15
c4ff054
Compare
Choose a tag to compare

IMPORTANT NOTE: This release contains BREAKING changes.

The new approach for the logger library is to create a logger object instance instead of using global functions.

Use Create function and pass the desired Options to create the instance. Remember to Destroy the instance once finished.

The Error, Warning, Info and Debug methods, now accept a single parameter: An object or a string. If an object is provided, the output will be in JSON format so ensure the proper tags are declared in the struct. If the argument is a string, the output will be similar to previous versions with the timestamp and level prefixed.

Take into account this methods will not accept a format and a variable number of arguments. The caller must do proper formatting by calling, for e.g., fmt.Sprintf.

Release v1.1.3

21 Dec 01:37
9748d91
Compare
Choose a tag to compare
  • Updated GooKit Color dependecy

Release v1.1.2

02 Dec 12:58
8fead9e
Compare
Choose a tag to compare
  • Renamed modules to match new repo

Release v1.1.1

01 Dec 19:31
fc9d796
Compare
Choose a tag to compare
  • Added missing imports in Linux & Plan9 versions