UNPKG

@zeix/ui-element

Version:

UIElement - a HTML-first library for reactive Web Components

50 lines (25 loc) 601 B
[**@zeix/ui-element**](../README.md) *** [@zeix/ui-element](../globals.md) / log # Function: log() > **log**\<`T`\>(`value`, `msg`, `level`): `T` Defined in: [src/core/util.ts:141](https://github.com/zeixcom/ui-element/blob/1e5ebee179adfc4619d3d0e9d2b864d1e97ba797/src/core/util.ts#L141) Log a message to the console with the specified level ## Type Parameters ### T `T` ## Parameters ### value `T` value to inspect ### msg `string` message to log ### level [`LogLevel`](../type-aliases/LogLevel.md) = `LOG_DEBUG` log level ## Returns `T` - value passed through ## Since 0.7.0