Home > @uniformdev/context > createDebugConsoleLogDrain
createDebugConsoleLogDrain() function
Creates a new log drain that will log full debug messages to the console. The debug log drain adds significant bundle size, but is useful for debugging.
NOTE: you probably want enableDebugConsoleLogDrain() instead of this function.
Signature:
Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
level
</td><td>
</td><td>
</td></tr> <tr><td>
options
</td><td>
</td><td>
(Optional)
</td></tr> </tbody></table> Returns: