Skip to content

scleriot/winston-googlecloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winston-googlecloud

Google Cloud Logging transport for winston.js

This library is licensed under MIT Licence.

Usage

var winston = require('winston');
//
// Requiring `winston-googlecloud` will expose
// `winston.transports.GoogleCloudLogging`
//
require('winston-googlecloud');

var options = {
    level: 'verbose',
    gcl_project_id: 'my-google-project-id',
    gcl_key_filename: "PATH TO JSON CREDENTIALS FILE",
    gcl_log_name: "my-log"
}
winston.add(winston.transports.GoogleCloudLogging, options);

About

Google Cloud Logging transport for winston.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •