I was adding Profiling in my Google CLoud Nodejs App and i see here in the documentation docs/profiling-nodejs that suported loglevels are
- 0: disables all agent logging (default)
- 1: enables error logging
- 2: enables warning logging
- 3: enables debug logging
But here in the Sample App documentation cloud-profiler-nodejs suported loglevels are
- Setting logLevel to 0 will disable logging
- 1 sets log level to error
- 2 sets it to warn
- 3 sets it to info
- 4 sets it to debug.
So can anyone please tell me which documentation is right and which one is wrong ?