ApplicationInsights-node.js
ApplicationInsights-node.js copied to clipboard
[Feature Request] Support configurable level for console.{level} capture
When .setAutoCollectConsole(true, true) is used to capture console.error(), console.warn(), etc. messages, it would be terrific if the level (trace, debug, info, warn, error) could be configured. For example, I'd like to capture only warning and error logs.
@mdmower Console log telemetry collection based on the APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL environment variable should be possible as of version 3.1.0.