Skip to content

feat(imports/logger): support metadata table for Fivemanage logger#75

Merged
FjamZoo merged 1 commit intoCommunityOx:mainfrom
itschip:feat/logger-support-metadata-table
Dec 21, 2025
Merged

feat(imports/logger): support metadata table for Fivemanage logger#75
FjamZoo merged 1 commit intoCommunityOx:mainfrom
itschip:feat/logger-support-metadata-table

Conversation

@itschip
Copy link

@itschip itschip commented Dec 21, 2025

Adds support for a table as the last argument, instead of a "key:value" spread argument. Backwards compatibility for both a table or/and a "key:value" arguments. Both params are converted to a proper field for Fivemanage, to prevent a "tags" field with comma separated values.

Currently only added for Fivemanage. The Loki option does something similar, so should be fine. Not sure about Datadog, so I'll leave that be.

lib.logger(1, "command", "just some testing hehe", {
  playerSource = 1,
  customData = "Additional info"
})
lib.logger(1, "command", "just some testing hehe", "playerSource:1", "customData:Additional info")

@itschip itschip marked this pull request as ready for review December 21, 2025 15:32
@FjamZoo FjamZoo merged commit 3ea020c into CommunityOx:main Dec 21, 2025
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 this pull request may close these issues.

2 participants