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
Parameter | Type | Description |
---|---|---|
level | OutputSeverity | |
options | ConsoleDebugLogDrainOptions | (Optional) |
Returns: