Skip to content

kdb-common-1.2.0-2020.06.29

Compare
Choose a tag to compare
@jasraj jasraj released this 29 Jun 19:44
· 86 commits to master since this release

This release introduces a new library if and makes changes to the default logging functions that all the libraries within kdb-common.

Interface Library (if)

This library has been added to allow the definition and implementation of a particular functon to be decoupled. This allows a library to reference function with knowing what the implementation of that function is.

In this version, all logging function references within all libraries within kdb-common have been updated.

NUC

The following function references have been updated:

  • .log.trace -> .log.if.trace
  • .log.debug -> .log.if.debug
  • .log.info -> .log.if.info
  • .log.warn -> .log.if.warn
  • .log.error -> .log.if.error
  • .log.fatal -> .log.if.fatal

Note that if you use the kdb-common logging library (log.q) then the the original functions exist as the implementation of these interfaces.

Full Changelog

d64d4c8 src: Migrate all logging to new interface versions .log -> .log.if [#41]
db73602 Add new "Interface" library [#41]