feat: Add option to change the log level of logs emitted by Cloud Functions (#8530)

This commit is contained in:
alljinx
2023-05-09 15:03:00 +02:00
committed by GitHub
parent 1302853187
commit 2caea310be
5 changed files with 58 additions and 2 deletions

View File

@@ -577,4 +577,12 @@ export interface LogLevels {
:DEFAULT: error
*/
triggerBeforeError: ?string;
/* Log level used by the Cloud Code Functions on success. Default is `info`.
:DEFAULT: info
*/
cloudFunctionSuccess: ?string;
/* Log level used by the Cloud Code Functions on error. Default is `error`.
:DEFAULT: error
*/
cloudFunctionError: ?string;
}