Nike-Inc/lambda-logger-node

README example of configuring handler uses old API

Ghazgkull opened this issue · 1 comments

The README currently shows how to instantiate a Logger() in a local module, then shows importing that module const logger = require('./logger') and invoking it as a function on a handler logger(handler).

With the 3.0 version of the API, I believe the example code should read logger.handler(handler)

Fixed by PR #14