mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-28 21:51:02 +00:00
feat(packages/shared): add logger factory
- @revanced/websocket-api now also utilizes the new logger from the shared package - @revanced/websocket-api/utils/checkEnv has been renamed to its full form - It also no longer returns anything as it's no longer needed
This commit is contained in:
@@ -22,10 +22,11 @@
|
||||
"type": "integer",
|
||||
"default": 60000
|
||||
},
|
||||
"debugLogsInProduction": {
|
||||
"description": "Whether to print debug logs in production",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
"consoleLogLevel": {
|
||||
"description": "The log level to print to console",
|
||||
"type": "string",
|
||||
"enum": ["error", "warn", "info", "verbose", "debug", "silly", "none"],
|
||||
"default": "info"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user