browser-sdk

Home > @datadog/browser-logs > LogsInitConfiguration > forwardConsoleLogs

LogsInitConfiguration.forwardConsoleLogs property

Forward logs from console.* to Datadog. Use “all” to forward everything or an array of console API names to forward only a subset.

Signature:

forwardConsoleLogs?: ConsoleApiName[] | 'all' | undefined;