Home > @uniformdev/context > enableDebugConsoleLogDrain
enableDebugConsoleLogDrain() function
Enables logging Context events to the browser console. Lightweight events with only the event ID are emitted.
Signature:
declare function enableDebugConsoleLogDrain(level: OutputSeverity, options?: ConsoleDebugLogDrainOptions): ContextPlugin;
Parameters
Parameter | Type | Description |
---|---|---|
level | OutputSeverity | |
options | ConsoleDebugLogDrainOptions | (Optional) |
Returns: