Home > @uniformdev/context > enableDebugConsoleLogDrain

enableDebugConsoleLogDrain() function

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

Signature:

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

level

</td><td>

OutputSeverity

</td><td>

</td></tr> <tr><td>

options

</td><td>

ConsoleDebugLogDrainOptions

</td><td>

(Optional)

</td></tr> </tbody></table> Returns:

ContextPlugin