You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
From what I can tell, it's currently not possible to reconfigure the console logging strategy post-configuration. Consequently, I had to implement my own version of the console forwarding and duplicate a lot of the mapping from console api to datadog status within my application.
Describe the solution you'd like
Since there are a lot of potential solutions, I don't want to prescribe any particular solution. See alternatives below for some of the things I've come up with. My end goal is to make it easier to change the console forwarding strategy after configuration.
Describe alternatives you've considered
Expose console api mappers, types, and enums to make it easier for applications to create their own console logger (which can then be adjusted post-configuration)
Expose functions that allow applications to reconfigure the console logging strategy post-configuration
Deprecate the forwardConsoleLogs property in favor of adding another logger (i.e., datadogLogs.consoleLogger)
I don't find the array contract for this to be all that useful as I rely on using the idea of log levels. Anything above the log level should be captured.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
From what I can tell, it's currently not possible to reconfigure the console logging strategy post-configuration. Consequently, I had to implement my own version of the console forwarding and duplicate a lot of the mapping from console api to datadog status within my application.
Describe the solution you'd like
Since there are a lot of potential solutions, I don't want to prescribe any particular solution. See alternatives below for some of the things I've come up with. My end goal is to make it easier to change the console forwarding strategy after configuration.
Describe alternatives you've considered
forwardConsoleLogs
property in favor of adding another logger (i.e.,datadogLogs.consoleLogger
)The text was updated successfully, but these errors were encountered: