{"_id":"winston-google-spreadsheet","_rev":"35-64a069c8fb262720b5dea0f8b26b5d8b","name":"winston-google-spreadsheet","description":"Log data into your Google Spreadsheet with [winston][0] logger modules.","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"winston-google-spreadsheet","version":"0.0.1","main":"./lib/winston-google-spreadsheet","keywords":["logging","winston","google","spreadsheet"],"dependencies":{"data2xml":"~0.8.1","request":"~2.26.0","refresh-token":"~0.0.1"},"repository":{"type":"git","url":"https://github.com/wf9a5m75/winston-google-spreadsheet"},"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"author":{"name":"Masashi Katsumata","email":"wf9a5m75@gmail.com"},"readme":"# winston-google-spreadsheet\n\nLog data into your Google Spreadsheet with [winston][0]\n\n## Usage\n``` js\n  var winston = require('winston');\n  \n  //\n  // Requiring `winston-google-spreadsheet` will expose \n  // `winston.transports.GoogleSpreadsheet`\n  //\n  require('winston-google-spreadsheet').GoogleSpreadsheet;\n  \n  winston.add(winston.transports.GoogleSpreadsheet, options);\n```\n\nThis transport accepts the follow options:\n\n* __fileId:__ (Default **None**) The file ID of Google Spreadsheet that you want to log.\n* __sheetIdx:__ (Default **1**) The worksheet index of the file.\n* __accessToken:__ (Default **None**) The access token to the file.\n* __level:__ (Default **Info**) Level of messages that this transport should log.\n\nIn addition to these, the Redis transport also accepts the following options.\n\n* __refresh_token:__ (Default **None**) Number of log messages to store.\n* __client_id:__ (Default **None**) Name of the Redis container you wish your logs to be in.\n* __client_secret:__ (Default **None**) Name of the Redis channel to stream logs from. \n\n*Metadata:* Logged as JSON literal in cell\n\n*fileId:* A file ID is included in the URL of the file.\n![image2](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/file_id.png)\n\n## Installation\n\n### Installing winston-google-spreadsheet\n\n``` bash\n  $ npm install winston\n  $ npm install winston-google-spreadsheet\n```\n\n### Create a log file\nCreate a Google Spreadsheet in your Google Drive, then add __timestamp__, __level__, __message__ and __meta__ columns like this image.\n\n![image1](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/columns.png)\n\n\n#### Author: [Masashi Katsumata](http://masashi-k.blogspot.com/)\n\n[0]: https://github.com/flatiron/winston","readmeFilename":"README.md","_id":"winston-google-spreadsheet@0.0.1","description":"Log data into your Google Spreadsheet with [winston][0]","dist":{"shasum":"a5af2a2391dca4afe6f4a15d6c9e94600670e07c","tarball":"https://registry.npmjs.org/winston-google-spreadsheet/-/winston-google-spreadsheet-0.0.1.tgz","integrity":"sha512-8xWX/TXlE50H29K6q1uCKvrWmBtu6o/3UgUP3mOaO+1nWSI2aK/Wj8f2SnaMLlOdVIQzWOhfj6fHd9ITROaDXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGC/t0mjTNFxppDZjv1+YBbE9Axt7p4CGEG4okn1fgSwAiAkyup7rsQ/duBbBX3terFLB0AR8/JNnDiKfruvUeOduA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"},"maintainers":[{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"}],"directories":{}},"0.0.2":{"name":"winston-google-spreadsheet","version":"0.0.2","main":"./lib/winston-google-spreadsheet","keywords":["logging","winston","google","spreadsheet"],"dependencies":{"data2xml":"~0.8.1","request":"~2.26.0","refresh-token":"~0.0.1"},"repository":{"type":"git","url":"https://github.com/wf9a5m75/winston-google-spreadsheet"},"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"author":{"name":"Masashi Katsumata","email":"wf9a5m75@gmail.com"},"readme":"# winston-google-spreadsheet\n\nLog data into your Google Spreadsheet with [winston][0]\n\n## Usage\n``` js\n  var winston = require('winston');\n  \n  //\n  // Requiring `winston-google-spreadsheet` will expose \n  // `winston.transports.GoogleSpreadsheet`\n  //\n  require('winston-google-spreadsheet').GoogleSpreadsheet;\n  \n  winston.add(winston.transports.GoogleSpreadsheet, options);\n```\n\nThis transport accepts the follow options:\n\n* __fileId:__ (Default **None**) The file ID of Google Spreadsheet that you want to log.\n* __sheetIdx:__ (Default **1**) The worksheet index of the file.\n* __accessToken:__ (Default **None**) The access token to the file.\n* __level:__ (Default **Info**) Level of messages that this transport should log.\n\nIn addition to these, the Redis transport also accepts the following options.\n\n* __refreshToken:__ (Default **None**) Number of log messages to store.\n* __clientId:__ (Default **None**) Name of the Redis container you wish your logs to be in.\n* __clientSecret:__ (Default **None**) Name of the Redis channel to stream logs from. \n\n*Metadata:* Logged as JSON literal in cell\n\n*fileId:* A file ID is included in the URL of the file.\n![image2](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/file_id.png)\n\n## Installation\n\n### Installing winston-google-spreadsheet\n\n``` bash\n  $ npm install winston\n  $ npm install winston-google-spreadsheet\n```\n\n### Create a log file\nCreate a Google Spreadsheet in your Google Drive, then add __timestamp__, __level__, __message__ and __meta__ columns like this image.\n\n![image1](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/columns.png)\n\n*See more detailed explain at http://masashi-k.blogspot.com/2013/08/logging-data-into-google-spreadsheet.html*\n\n#### Author: [Masashi Katsumata](http://masashi-k.blogspot.com/)\n\n[0]: https://github.com/flatiron/winston","readmeFilename":"README.md","_id":"winston-google-spreadsheet@0.0.2","description":"Log data into your Google Spreadsheet with [winston][0]","dist":{"shasum":"4d35518547fbe96a54e513d45c4fca99cf93791d","tarball":"https://registry.npmjs.org/winston-google-spreadsheet/-/winston-google-spreadsheet-0.0.2.tgz","integrity":"sha512-2ZCTdrlRcU04MYfptekwtk+Cj6d+a+RZ4GX2suGoMWJhnqbad2DoaKKX4jFwwXzdJyK/QxzYLwNEZBKmfbxq5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT25tP2PfW9lyDNsoem5Kjahzsg7D20c4rLU1Gib+cJgIgIvx836WsPgmh0NWl7+3br8az2xmaMAfhvzQBzaxmd8I="}]},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"},"maintainers":[{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"}],"directories":{}},"0.0.3":{"name":"winston-google-spreadsheet","version":"0.0.3","main":"./lib/winston-google-spreadsheet","keywords":["logging","winston","google","spreadsheet"],"dependencies":{"data2xml":"~0.8.1","request":"~2.26.0","refresh-token":"~0.0.1","googleclientlogin":"~0.2.6"},"repository":{"type":"git","url":"https://github.com/wf9a5m75/winston-google-spreadsheet"},"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"author":{"name":"Masashi Katsumata","email":"wf9a5m75@gmail.com"},"readme":"# winston-google-spreadsheet\n\nLog data into your Google Spreadsheet with [winston][0] logger modules.\n\n## Usage\n``` js\n  var winston = require('winston');\n  \n  //\n  // Requiring `winston-google-spreadsheet` will expose \n  // `winston.transports.GoogleSpreadsheet`\n  //\n  require('winston-google-spreadsheet').GoogleSpreadsheet;\n  \n  winston.add(winston.transports.GoogleSpreadsheet, options);\n```\n\nThis transport accepts the follow options:\n\n* __fileId:__ (Default **None**) The file ID of Google Spreadsheet that you want to log.\n* __sheetIdx:__ (Default **1**) The worksheet index of the file.\n* __accessToken:__ (Default **None**) The access token to the file.\n* __level:__ (Default **Info**) Level of messages that this transport should log.\n\nIn addition for OAuth2, this module also accepts the following options.\n\n* __refreshToken:__ (Default **None**) OAuth2 refresh token.\n* __clientId:__ (Default **None**) OAuth2 client ID.\n* __clientSecret:__ (Default **None**) OAuth2 client secret.\n\nIf you want to use client login, this module also accepts the following options.\n\n* __email:__ (Default **None**) Your gmail address.\n* __password:__ (Default **None**) Your gmail password. \n\n*Metadata:* Logged as JSON literal in cell\n\n*fileId:* A file ID is included in the URL of the file.\n![image2](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/file_id.png)\n\n## Installation\n\n### Installing winston-google-spreadsheet\n\n``` bash\n  $ npm install winston\n  $ npm install winston-google-spreadsheet\n```\n\n### Create a log file\nCreate a Google Spreadsheet in your Google Drive, then add __timestamp__, __level__, __message__ and __meta__ columns like this image.\n\n![image1](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/columns.png)\n\n### Client Login\n\n``` js\nconst EMAIL = 'your@gmail.com';\nconst PASSWORD = 'your_password';\nconst FILE_ID = 'your_file_id';\n\nvar winston = require('winston');\nrequire('winston-google-spreadsheet').GoogleSpreadSheet;\n\nvar ssLogger = new (winston.transports.GoogleSpreadsheet)({\n      'email': EMAIL,\n      'password': PASSWORD,\n      'fileId' : FILE_ID,\n      'level' : 'info'\n    });\n\nvar logger = new (winston.Logger)({\n  'transports': [ssLogger],\n  'exceptionHandlers': [ssLogger],\n  'exitOnError': true\n});\n\nlogger.log('info', 'Test Log Message', { anything: 'This is metadata' });\n```\n\n\n### OAuth2\n\n``` js\nconst REFRESH_TOKEN = 'your_refresh_token';\nconst CLIENT_ID = 'your_client_id';\nconst CLIENT_SECRET = 'your_client_secret';\nconst FILE_ID = 'your_file_id';\n\nvar winston = require('winston');\nrequire('winston-google-spreadsheet').GoogleSpreadSheet;\n\nvar ssLogger = new (winston.transports.GoogleSpreadsheet)({\n  'fileId' : FILE_ID,\n  'level' : 'info',\n  'refreshToken': REFRESH_TOKEN,\n  'clientId': CLIENT_ID,\n  'clientSecret': CLIENT_SECRET\n});\n  \nvar logger = new (winston.Logger)({\n  'transports': [ssLogger],\n  'exceptionHandlers': [ssLogger],\n  'exitOnError': true\n});\n\nlogger.log('info', 'Test Log Message', { anything: 'This is metadata' });\n```\n\n*See more detailed explain at http://masashi-k.blogspot.com/2013/08/logging-data-into-google-spreadsheet.html*\n\n#### Author: [Masashi Katsumata](http://masashi-k.blogspot.com/)\n\n[0]: https://github.com/flatiron/winston\n[1]: https://github.com/TooTallNate/node-time\n","readmeFilename":"README.md","_id":"winston-google-spreadsheet@0.0.3","description":"Log data into your Google Spreadsheet with [winston][0] logger modules.","dist":{"shasum":"60902689aed0a804aa44be580f4a3e09a7c1ca9d","tarball":"https://registry.npmjs.org/winston-google-spreadsheet/-/winston-google-spreadsheet-0.0.3.tgz","integrity":"sha512-F9bsuBno1bB/vta8bpKvlX8Je4yfWxchnB0twaZyig0inreKcwlGotLTr4cObAUD8gvqCENmsJx8Z0KA6LtJVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEd6/ll6V12pKrAKB7vn188Aj9ZwWvDH+Q7bTH4lEShoAiEA/HDpZYXsJM9LbOftLFMxBNd1say2DXA/DBpx7aoFXu4="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"},"maintainers":[{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"}],"directories":{}},"0.0.4":{"name":"winston-google-spreadsheet","version":"0.0.4","main":"./lib/winston-google-spreadsheet","keywords":["logging","winston","google","spreadsheet"],"dependencies":{"data2xml":"~0.8.1","request":"~2.26.0","refresh-token":"~0.0.1","googleclientlogin":"~0.2.6","zoneinfo":"~0.1.8"},"repository":{"type":"git","url":"https://github.com/wf9a5m75/winston-google-spreadsheet"},"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"author":{"name":"Masashi Katsumata","email":"wf9a5m75@gmail.com"},"readme":"# winston-google-spreadsheet\n\nLog data into your Google Spreadsheet with [winston][0] logger modules.\n\n## Usage\n``` js\n  var winston = require('winston');\n  \n  //\n  // Requiring `winston-google-spreadsheet` will expose \n  // `winston.transports.GoogleSpreadsheet`\n  //\n  require('winston-google-spreadsheet').GoogleSpreadsheet;\n  \n  winston.add(winston.transports.GoogleSpreadsheet, options);\n```\n\nThis transport accepts the follow options:\n\n* __fileId:__ (Default **None**) The file ID of Google Spreadsheet that you want to log.\n* __sheetIdx:__ (Default **1**) The worksheet index of the file.\n* __accessToken:__ (Default **None**) The access token to the file.\n* __level:__ (Default **Info**) Level of messages that this transport should log.\n* __timezone:__ (Default **Node**) Specify timezone for log timestamp.\n\nIn addition for OAuth2, this module also accepts the following options.\n\n* __refreshToken:__ (Default **None**) OAuth2 refresh token.\n* __clientId:__ (Default **None**) OAuth2 client ID.\n* __clientSecret:__ (Default **None**) OAuth2 client secret.\n\nIf you want to use client login, this module also accepts the following options.\n\n* __email:__ (Default **None**) Your gmail address.\n* __password:__ (Default **None**) Your gmail password. \n\n*Metadata:* Logged as JSON literal in cell\n\n*fileId:* A file ID is included in the URL of the file.\n![image2](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/file_id.png)\n\n## Installation\n\n### Installing winston-google-spreadsheet\n\n``` bash\n  $ npm install winston\n  $ npm install winston-google-spreadsheet\n```\n\n### Create a log file\nCreate a Google Spreadsheet in your Google Drive, then add __timestamp__, __level__, __message__ and __meta__ columns like this image.\n\n![image1](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/columns.png)\n\n### Client Login\n\n``` js\nconst EMAIL = 'your@gmail.com';\nconst PASSWORD = 'your_password';\nconst FILE_ID = 'your_file_id';\n\nvar winston = require('winston');\nrequire('winston-google-spreadsheet').GoogleSpreadSheet;\n\nvar ssLogger = new (winston.transports.GoogleSpreadsheet)({\n      'email': EMAIL,\n      'password': PASSWORD,\n      'fileId' : FILE_ID,\n      'level' : 'info'\n    });\n\nvar logger = new (winston.Logger)({\n  'transports': [ssLogger],\n  'exceptionHandlers': [ssLogger],\n  'exitOnError': true\n});\n\nlogger.log('info', 'Test Log Message', { anything: 'This is metadata' });\n```\n\n\n### OAuth2\n\n``` js\nconst REFRESH_TOKEN = 'your_refresh_token';\nconst CLIENT_ID = 'your_client_id';\nconst CLIENT_SECRET = 'your_client_secret';\nconst FILE_ID = 'your_file_id';\n\nvar winston = require('winston');\nrequire('winston-google-spreadsheet').GoogleSpreadSheet;\n\nvar ssLogger = new (winston.transports.GoogleSpreadsheet)({\n  'fileId' : FILE_ID,\n  'level' : 'info',\n  'refreshToken': REFRESH_TOKEN,\n  'clientId': CLIENT_ID,\n  'clientSecret': CLIENT_SECRET\n});\n  \nvar logger = new (winston.Logger)({\n  'transports': [ssLogger],\n  'exceptionHandlers': [ssLogger],\n  'exitOnError': true\n});\n\nlogger.log('info', 'Test Log Message', { anything: 'This is metadata' });\n```\n\n\n### Change time zone\nIf you send your log data from in different time zones, you can specify time zone for log timestamp.\n\n``` js\nvar ssLogger = new (winston.transports.GoogleSpreadsheet)({\n  'fileId' : FILE_ID,\n  'level' : 'info',\n  'timezone': 'America/Los_Angeles'  // Asia/Tokyo etc.\n});\n```\n\n*See more detailed explain at http://masashi-k.blogspot.com/2013/08/logging-data-into-google-spreadsheet.html*\n\n#### Author: [Masashi Katsumata](http://masashi-k.blogspot.com/)\n\n[0]: https://github.com/flatiron/winston\n[1]: https://github.com/TooTallNate/node-time\n","readmeFilename":"README.md","_id":"winston-google-spreadsheet@0.0.4","description":"Log data into your Google Spreadsheet with [winston][0] logger modules.","dist":{"shasum":"66f0eae6923d139715fff94e69286b3e033b642b","tarball":"https://registry.npmjs.org/winston-google-spreadsheet/-/winston-google-spreadsheet-0.0.4.tgz","integrity":"sha512-VqcS6ydN0h7/myn4pBPCQjUwwfQ5j56rBbi18p/2DIBW3tRLYkuTGBNIKBbpBPwdEKnx0BD2HpCx4uzNKdmWMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1HIUgMQ9VwGxU3Kff1M0qXuWuax7cAeyuTl+qhCSJrwIgHpIKrtrA76FDHU8pdD8Dr9Q3LiHFClC7pZfHrlEQh8Q="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"},"maintainers":[{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"}]},"0.0.5":{"name":"winston-google-spreadsheet","version":"0.0.5","main":"./lib/winston-google-spreadsheet","keywords":["logging","winston","google","spreadsheet"],"dependencies":{"data2xml":"~0.8.1","request":"~2.26.0","refresh-token":"~0.0.1","googleclientlogin":"~0.2.6","zoneinfo":"~0.1.8"},"repository":{"type":"git","url":"https://github.com/wf9a5m75/winston-google-spreadsheet"},"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"author":{"name":"Masashi Katsumata","email":"wf9a5m75@gmail.com"},"readme":"# winston-google-spreadsheet\n\nLog data into your Google Spreadsheet with [winston][0] logger modules.\n\n## Usage\n``` js\n  var winston = require('winston');\n  \n  //\n  // Requiring `winston-google-spreadsheet` will expose \n  // `winston.transports.GoogleSpreadsheet`\n  //\n  require('winston-google-spreadsheet').GoogleSpreadsheet;\n  \n  winston.add(winston.transports.GoogleSpreadsheet, options);\n```\n\nThis transport accepts the follow options:\n\n* __fileId:__ (Default **None**) The file ID of Google Spreadsheet that you want to log.\n* __sheetIdx:__ (Default **1**) The worksheet index of the file.\n* __accessToken:__ (Default **None**) The access token to the file.\n* __level:__ (Default **Info**) Level of messages that this transport should log.\n* __timezone:__ (Default **Node**) Specify timezone for log timestamp.\n\nIn addition for OAuth2, this module also accepts the following options.\n\n* __refreshToken:__ (Default **None**) OAuth2 refresh token.\n* __clientId:__ (Default **None**) OAuth2 client ID.\n* __clientSecret:__ (Default **None**) OAuth2 client secret.\n\nIf you want to use client login, this module also accepts the following options.\n\n* __email:__ (Default **None**) Your gmail address.\n* __password:__ (Default **None**) Your gmail password. \n\n*Metadata:* Logged as JSON literal in cell\n\n*fileId:* A file ID is included in the URL of the file.\n![image2](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/file_id.png)\n\n## Installation\n\n### Installing winston-google-spreadsheet\n\n``` bash\n  $ npm install winston\n  $ npm install winston-google-spreadsheet\n```\n\n### Create a log file\nCreate a Google Spreadsheet in your Google Drive, then add __timestamp__, __level__, __message__ and __meta__ columns like this image.\n\n![image1](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/columns.png)\n\n### Client Login\n\n``` js\nconst EMAIL = 'your@gmail.com';\nconst PASSWORD = 'your_password';\nconst FILE_ID = 'your_file_id';\n\nvar winston = require('winston');\nrequire('winston-google-spreadsheet').GoogleSpreadSheet;\n\nvar ssLogger = new (winston.transports.GoogleSpreadsheet)({\n      'email': EMAIL,\n      'password': PASSWORD,\n      'fileId' : FILE_ID,\n      'level' : 'info'\n    });\n\nvar logger = new (winston.Logger)({\n  'transports': [ssLogger],\n  'exceptionHandlers': [ssLogger],\n  'exitOnError': true\n});\n\nlogger.log('info', 'Test Log Message', { anything: 'This is metadata' });\n```\n\n\n### OAuth2\n\n``` js\nconst REFRESH_TOKEN = 'your_refresh_token';\nconst CLIENT_ID = 'your_client_id';\nconst CLIENT_SECRET = 'your_client_secret';\nconst FILE_ID = 'your_file_id';\n\nvar winston = require('winston');\nrequire('winston-google-spreadsheet').GoogleSpreadSheet;\n\nvar ssLogger = new (winston.transports.GoogleSpreadsheet)({\n  'fileId' : FILE_ID,\n  'level' : 'info',\n  'refreshToken': REFRESH_TOKEN,\n  'clientId': CLIENT_ID,\n  'clientSecret': CLIENT_SECRET\n});\n  \nvar logger = new (winston.Logger)({\n  'transports': [ssLogger],\n  'exceptionHandlers': [ssLogger],\n  'exitOnError': true\n});\n\nlogger.log('info', 'Test Log Message', { anything: 'This is metadata' });\n```\n\n\n### Change time zone\nIf you send your log data from in different time zones, you can specify time zone for log timestamp.\n\n``` js\nvar ssLogger = new (winston.transports.GoogleSpreadsheet)({\n  'fileId' : FILE_ID,\n  'level' : 'info',\n  'timezone': 'America/Los_Angeles'  // Asia/Tokyo etc.\n});\n```\n\n*See more detailed explain at http://masashi-k.blogspot.com/2013/08/logging-data-into-google-spreadsheet.html*\n\n#### Author: [Masashi Katsumata](http://masashi-k.blogspot.com/)\n\n[0]: https://github.com/flatiron/winston\n[1]: https://github.com/TooTallNate/node-time\n","readmeFilename":"README.md","_id":"winston-google-spreadsheet@0.0.5","description":"Log data into your Google Spreadsheet with [winston][0] logger modules.","dist":{"shasum":"25131728ff1512c0c9222b30de5dd74cee617708","tarball":"https://registry.npmjs.org/winston-google-spreadsheet/-/winston-google-spreadsheet-0.0.5.tgz","integrity":"sha512-qE1KpI5w4UjfU2INKcZMWMoPue4tQPG74QWNaRZ1TsFkfXLWJZcvWOC+YqE7m0yinjTdZRYNi868z3EIVV5suw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHDduzmQMvxwxqYDqN0Cp20r7Uh/xNPf0VVYWGg4k0cUAiEAwCX4n049+4dMQYr2Dv63FNI9vokNzwBVKGsQZ3MeN4M="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"},"maintainers":[{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"}]}},"readme":"# winston-google-spreadsheet\n\nLog data into your Google Spreadsheet with [winston][0]\n\n## Usage\n``` js\n  var winston = require('winston');\n  \n  //\n  // Requiring `winston-google-spreadsheet` will expose \n  // `winston.transports.GoogleSpreadsheet`\n  //\n  require('winston-google-spreadsheet').GoogleSpreadsheet;\n  \n  winston.add(winston.transports.GoogleSpreadsheet, options);\n```\n\nThis transport accepts the follow options:\n\n* __fileId:__ (Default **None**) The file ID of Google Spreadsheet that you want to log.\n* __sheetIdx:__ (Default **1**) The worksheet index of the file.\n* __accessToken:__ (Default **None**) The access token to the file.\n* __level:__ (Default **Info**) Level of messages that this transport should log.\n\nIn addition to these, the Redis transport also accepts the following options.\n\n* __refresh_token:__ (Default **None**) Number of log messages to store.\n* __client_id:__ (Default **None**) Name of the Redis container you wish your logs to be in.\n* __client_secret:__ (Default **None**) Name of the Redis channel to stream logs from. \n\n*Metadata:* Logged as JSON literal in cell\n\n*fileId:* A file ID is included in the URL of the file.\n![image2](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/file_id.png)\n\n## Installation\n\n### Installing winston-google-spreadsheet\n\n``` bash\n  $ npm install winston\n  $ npm install winston-google-spreadsheet\n```\n\n### Create a log file\nCreate a Google Spreadsheet in your Google Drive, then add __timestamp__, __level__, __message__ and __meta__ columns like this image.\n\n![image1](https://github.com/wf9a5m75/winston-google-spreadsheet/raw/master/images/columns.png)\n\n\n#### Author: [Masashi Katsumata](http://masashi-k.blogspot.com/)\n\n[0]: https://github.com/flatiron/winston","maintainers":[{"name":"wf9a5m75","email":"wf9a5m75@gmail.com"}],"time":{"modified":"2022-06-29T02:22:45.958Z","created":"2013-08-07T20:27:44.864Z","0.0.1":"2013-08-07T20:27:45.986Z","0.0.2":"2013-08-08T05:07:24.492Z","0.0.3":"2013-08-08T19:38:41.346Z","0.0.4":"2013-08-09T00:21:38.860Z","0.0.5":"2013-09-24T23:26:43.628Z"},"author":{"name":"Masashi Katsumata","email":"wf9a5m75@gmail.com"},"repository":{"type":"git","url":"https://github.com/wf9a5m75/winston-google-spreadsheet"},"users":{"ahsanshafiq":true,"anoubis":true}}