Qbox-project / qbx_core

http://qbox-project.github.io
Other
46 stars 109 forks source link

Add support for ox_lib Datadog and Grafana Loki logging #418

Closed real-general-iroh closed 3 months ago

real-general-iroh commented 3 months ago

Description

This pull request adds an additional field to the logger function for tagging logs to be sent to ox_lib for API POST requests. This allows people to have finer log control by being able to assign their own KV pairs to their logs, further enabling searching and querying. See lib.logger documentation in regards to the vararg.

Checklist

solareon commented 3 months ago

So this shouldn't reuse the discord tags. That is used for if you desire to ping a role or person from a discord webhook. It should be added as a new field

real-general-iroh commented 3 months ago

So this shouldn't reuse the discord tags. That is used for if you desire to ping a role or person from a discord webhook. It should be added as a new field

I was thinking the same thing. I will go ahead and make that change, now.