README client constructor example incorrect (likely out of date). #1533
Labels
api: logging
Issues related to the googleapis/nodejs-logging API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
In the Using the client library part of the readme, we have the following snippet of code:
However, I believe this should be changed to:
My assumption is that projectId was removed from the constructor in order to allow the client to dynamically connect to several projects; that is during the running of the program it may dynamically switch which project it is connect to.
I am using
"@google-cloud/logging": "^11.2.0"
The text was updated successfully, but these errors were encountered: