Skip to content

Commit 5e7faac

Browse files
introduce Logging support
1 parent 6ceb711 commit 5e7faac

13 files changed

Lines changed: 1312 additions & 0 deletions

File tree

docs/json/master/logging/.gitkeep

Whitespace-only changes.

lib/index.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,34 @@ var apis = {
108108
*/
109109
dns: require('./dns'),
110110

111+
/**
112+
* <p class="notice">
113+
* **This is a *Beta* release of Google Cloud Logging for Google Compute
114+
* Engine.** This feature is not covered by any SLA or deprecation policy
115+
* and may be subject to backward-incompatible changes.
116+
* </p>
117+
*
118+
* [Google Cloud Logging](https://cloud.google.com/logging/docs) collects and
119+
* stores logs from applications and services on the Google Cloud Platform:
120+
*
121+
* - Export your logs to Google Cloud Storage, Google BigQuery, or Google
122+
* Cloud Pub/Sub.
123+
* - Integrate third-party logs from your virtual machine instances by
124+
* installing the logging agent, `google-fluentd`.
125+
*
126+
* @type {module:logging}
127+
*
128+
* @return {module:logging}
129+
*
130+
* @example
131+
* var gcloud = require('gcloud');
132+
* var logging = gcloud.logging({
133+
* projectId: 'grape-spaceship-123',
134+
* keyFilename: '/path/to/keyfile.json'
135+
* });
136+
*/
137+
logging: require('./logging'),
138+
111139
/**
112140
* [Google Cloud Pub/Sub](https://developers.google.com/pubsub/overview) is a
113141
* reliable, many-to-many, asynchronous messaging service from Google Cloud

0 commit comments

Comments
 (0)