Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:

Changelog

All notable changes to this module will be documented in this file.

The format is based on Keep a Changelog, and this module adheres to Semantic Versioning.

Unreleased

1.0.0 - 2020-10-13

Added

  • Log tags now comes with ISO_TIMESTAMP which produce timestamp such as 2020-10-13T08:46:38.803Z.
  • Default timestamp formatter and default message formatter are exported for use.

Changed

  • Breaking: Split formatting role of option logger as separated option messageFormatter.
  • Breaking: LogTags.LOG_LEVEL renamed as LogTags.MESSAGE_LEVEL to distinct logging level from message level.
  • Breaking: Logging level disabled renamed to off to align with well-known log4j.
  • Breaking: Final logged message was different on edge cases when printf-like format string was used as prefix.
  • Breaking: No message will be logged when no message parameter is supplied, even when prefixes are provided.

Removed

  • Breaking: Method .setLevel(), setter .level and setter .prefixes are removed. Use .extend() instead.
  • Breaking: Options levelText is removed. Use options.level = 'INFO' as LoggingLevel instead. Invalid level will be ignored.

Fixed

  • Fix prefixes can be altered via options.prefixes.
  • Fix incorrect message content was logged in some cases, such as no prefixes and no message parameters supplied.
  • Fix LevelLogger class is not exported as .LevelLogger in module level.

0.1.2 - 2020-09-29

Fixed

  • Fix inappropriate LogFunction signature.

0.1.1 - 2020-08-31

Fixed

  • Fix incorrect information in README.

0.1.0 - 2020-08-31

Added

  • First public release.