Skip to content

Commit aa1e31a

Browse files
add docs
1 parent c7d27b1 commit aa1e31a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

lib/logging/entry.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ var GrpcService = require('../common/grpc-service.js');
4141
* [Monitored Resource](https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/MonitoredResource).
4242
* @param {object|string} data - The data to use as the value for this log
4343
* entry.
44+
*
45+
* If providing an object, these value types are supported:
46+
* - `String`
47+
* - `Number`
48+
* - `Boolean`
49+
* - `Buffer`
50+
* - `Object`
51+
* - `Array`
52+
*
53+
* Any other types are stringified with `String(value)`.
4454
* @return {module:logging/entry}
4555
*
4656
* @example

0 commit comments

Comments
 (0)