The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

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