Home > @firebase/database > enableLogging
enableLogging() function
Logs debugging information to the console.
Signature:
export declare function enableLogging(logger: (message: string) => unknown): any;
Parameters
Parameter | Type | Description |
---|---|---|
logger | (message: string) => unknown | A custom logger function to control how things get logged. |
Returns:
any