Closed bpartridge83 closed 8 years ago
Ah I see, thanks for catching that. I should have tested the module as found on npm. I have edited the index.js file to properly expose the name createLogger
in the global space. I appreciate the feedback, please don't hesitate to let me know any other improvements I can make. Thanks Brian!
The
createLogger
function is returned fromlib/logger.js
, but it's being assigned to the global space ascreate
:https://github.com/logdna/nodejs/blob/master/index.js#L2
So, this fails:
But
Logger.create
is working ascreateLogger
is documented.