Skip to content

Commit

Permalink
updated readme [ci-skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkida committed Feb 28, 2016
1 parent 96be312 commit 1cf380c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ Examples

###Basic setup
```javascript
const ddTransport = require('winston-datadog');
const winston = require('winston');
const DatadogTransport = require('winston-datadog');
const ddTransport = new DatadogTransport({
api_key: '',
app_key: '' //optional
});
const logger = new winston.Logger({
transports: [
ddTransport
Expand Down

0 comments on commit 1cf380c

Please sign in to comment.