Home > @uniformdev/context > enableConsoleLogDrain

enableConsoleLogDrain() function

Enables logging Context events to the browser console. Lightweight events with only the event ID are emitted.

Signature:

declare function enableConsoleLogDrain(level: OutputSeverity): ContextPlugin;

Parameters

ParameterTypeDescription
levelOutputSeverity

Returns:

ContextPlugin