Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

Releases: ContainerSSH/log

0.9.11: Log cleanup

25 Feb 07:00
Compare
Choose a tag to compare
0.9.11: Log cleanup Pre-release
Pre-release

This release cleans up the output format. It also deprecates the formatting messages, such as Noticef in favor of logging Message objects.

It also adds multi-format support to and fixes the Syslog writer.

0.9.10: Moved to struct-based logging

19 Feb 07:36
Compare
Choose a tag to compare
Pre-release
  • Added a new error type called Message as a preferred way of generating errors.
  • Removed error methods, such as Noticee, etc
  • Added labels to messages and loggers

0.9.9: Added test logger

12 Jan 22:29
Compare
Choose a tag to compare
Pre-release

This release adds a test logger that helps with logging for tests.

0.9.8: Added configuration validation

29 Dec 23:01
Compare
Choose a tag to compare
Pre-release

This release adds a Validate() method to the configuration to allow for central validating the entire configuration structure before run.

0.9.7: Default configuration values

13 Dec 21:36
4b1c4df
Compare
Choose a tag to compare
Pre-release

The previous version included an incorrect default value for the level setting. This is now fixed and defaults to the notice level.

0.9.6: YAML and JSON marshalling

11 Dec 00:36
dfa95eb
Compare
Choose a tag to compare
Pre-release

In the previous release we did not consider the need for also marshalling log level values. This release adds the marshalling method to encode log levels to their string representations in YAML and JSON. It also adds the ability to unmarshal from the numeric values should they be present.

0.9.5: YAML and JSON unmarshaling

10 Dec 23:23
4ee1cd4
Compare
Choose a tag to compare
Pre-release

This release fixes the JSON and YAML unmarshalling, so it is compatible with the ContainerSSH 0.3 log format.

0.9.4: Bugfixing text logging

28 Nov 10:58
Compare
Choose a tag to compare
Pre-release

This release adds the timestamp to the text format and documents both formats.

0.9.3: Adding Module Scoping

28 Nov 10:13
Compare
Choose a tag to compare
Pre-release

This release adds several improvements to the logging facilities:

  • All factory and other methods have now been moved to the log package instead of the subpackages.
  • All factory methods now have a module parameter which is reflected in the output. This will allow log filtering on a per-module basis. Users are encouraged to create loggers separately for every module.
  • Several factory methods now accept a config structure instead of a log level. This config structure can be used to customize the formatter as well as the log level.
  • We have added a text log format.

0.9.2: Bugfixing Go Logger

28 Nov 10:04
Compare
Choose a tag to compare
Pre-release

This release fixes the NewGoLogWriter() method to return io.Writer instead of a package-scoped pointer.