Closed tomgco closed 8 years ago
@@ master #31 diff @@
===================================
Files 1 1
Lines 76 85 +9
Methods 0 0
Branches 0 0
===================================
+ Hits 76 85 +9
Misses 0 0
Partials 0 0
Powered by Codecov. Last updated by c7d55f5...6a67bea
As a note, the dependency bunyan
is 492KB
on disk when it is installed with npm install --no-optional
and 4.8MB when installed with all dependencies.
Review with @plaenen, let's rename the attribute: module: String
to either tags: Array
or labels: Array
by passing in an array to the constructor.
@tomgco looks good. Can you update the package version so we can npm publish after merging? Thanks!
@tomgco looks good. Can you update the package version so we can npm publish after merging?
Thanks, updated the minor version number.
This commit introduces a new method of logging from within AWS Lambda's.
It delegates to Bunyan and produces log messages in the structure defined below:
As seen above this function also reads the current context of the lambda and populates some common fields to embelish logs with some added features, which could be indexed if sent to Elasticsearch.