jouni-kantola / mocha-stackdriver-reporter

Mocha reporter using the Google Cloud logging API
MIT License
0 stars 1 forks source link

Provide URL encoding example with `/` in logName #2

Closed jouni-kantola closed 4 years ago

jouni-kantola commented 4 years ago

Setting logName: "my-function/with-name" formats the resulting log's name into 'projects/test123/logs/my-function%2Fwith-name'. That is correct, but probably needs to be documented.

Read more here: https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry