We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cad54a2 commit 51d6af9Copy full SHA for 51d6af9
1 file changed
handwritten/logging-winston/README.md
@@ -17,10 +17,7 @@ var transport = require('@google-cloud/logging-winston');
17
winston.add(transport, {
18
projectId: 'grape-spaceship-123',
19
keyFilename: '/path/to/keyfile.json',
20
- level: 'warning', // log at 'warning' and above
21
- resource: {
22
- type: 'global'
23
- }
+ level: 'warn' // log at 'warn' and above
24
});
25
26
winston.error('warp nacelles offline');
0 commit comments