Refactor logging system and centralize config
Reworked the logging system to use a unified handler approach supporting built-in, qb, ox_lib, and Fivemerr log systems. Deprecated Logs.Send and Logs.Notify in favor of Logs.CreateLog. Centralized all logging configuration options in serverConfig.lua for easier management and extensibility.
This commit is contained in:
1 parent
c399fbaca4
commit
7f14eef82b
2 files changed
+62
-103
No files matched your search
@@ -1,4 +1,7 @@
|
||||
BridgeServerConfig = {}
|
||||
BridgeServerConfig.MaxInventorySlots = 50
|
||||
|
||||
return BridgeServerConfig
|
||||
BridgeServerConfig.LogSystem = "built-in" -- can be "none", "built-in", "qb", "fivemerr" or "ox_lib"
|
||||
BridgeServerConfig.WebhookURL = "" -- Add webhook URL here if using built-in logging system
|
||||
BridgeServerConfig.FivemerrApiKey = "" -- Add Fivemerr API key here if using fiveMerr
|
||||
BridgeServerConfig.EmbedLogo = "https://cdn.discordapp.com/avatars/299410129982455808/31ce635662206e8bd0132c34ce9ce683?size=1024"
|
||||
return BridgeServerConfig
|
||||
Reference in new issue
Block a user