Home > @firebase/app > onLog
onLog() function
Sets log handler for all Firebase SDKs.
Signature:
export declare function onLog(logCallback: LogCallback | null, options?: LogOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
logCallback | LogCallback | null | An optional custom log handler that executes user code whenever the Firebase SDK makes a logging call. |
options | LogOptions |
Returns:
void