Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Datadog core libs to use github.com/coopnorge/go-logger #262

Closed
nhhagen opened this issue Jan 23, 2024 · 1 comment · Fixed by #348
Closed

Configure Datadog core libs to use github.com/coopnorge/go-logger #262

nhhagen opened this issue Jan 23, 2024 · 1 comment · Fixed by #348

Comments

@nhhagen
Copy link
Member

nhhagen commented Jan 23, 2024

Some of Datadogs libraries does logging, among them are ddtrace. During setup of go-datadog-lib configure Datadogs libraries to use go-logger.

Log data will have to be parsed and mapped to the correct go-logger functions.

Here is any example of a Coop application configuring logging for one of Datadogs core libraries on their own:

https://github.com/coopnorge/ecom-integrations-service-v2/blob/d6fe4d29672321f4dc6d5ebec0455ba60b457000/library/private/application/option.go#L44-L61

@nhhagen
Copy link
Member Author

nhhagen commented Apr 23, 2024

coopnorge/go-logger#100 is the proposed implementation for the logging adapter for ddtrace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant