Skip to content

Commit cd290ba

Browse files
committedSep 13, 2016
Adding 'credentials' param example to readme
1 parent a8710bb commit cd290ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎README.md

+3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ log.error("hello bunyan user");
4141

4242
```javascript
4343
new BunyanStackDriver({
44+
// The path to your key file:
4445
keyFilename: "/path/to/keyfile.json",
46+
// Or the contents of the key file:
47+
credentials: require('./path/to/keyfile.json'),
4548
logName: "logname",
4649
projectId: "project-id",
4750
writeInterval: 500, // ms

0 commit comments

Comments
 (0)
Failed to load comments.