Skip to content

Deprecate the logging service

Expected Behavior

Oddworks should not have an opinion about how an application should do logging. Secondly, a Node.js library should not do it's own logging (outside of the great debug tool). Instead, it should emit events for the application to pick up and log using the logging tools of its choice. Oddworks has a great way of doing this with the Oddcast message bus.

Current Behavior

There is a logging service exposed, which is called throughout the library in several places.

Possible Solution

Deprecate the logging service.

Perhaps implement a logging tool again in v3 as a convenience for applications.