Home > @firebase/app > setLogLevel
setLogLevel() function
Sets log level for all Firebase SDKs.
All of the log types above the current log level are captured (i.e. if you set the log level to info
, errors are logged, but debug
and verbose
logs are not).
Signature:
export declare function setLogLevel(logLevel: LogLevelString): void;
Parameters
Parameter | Type | Description |
---|---|---|
logLevel | LogLevelString |
Returns:
void