Home > @uniformdev/context > createConsoleLogDrain
createConsoleLogDrain() function
Creates a new log drain that will log to the console. The log drain will only log event IDs, but is much smaller than the debug log drain.
NOTE: you probably want enableConsoleLogDrain() instead of this function.
Signature:
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
level |
Returns: