Skip to content

console

ts
const console: Console;

A wrapper for the console to provide some convenience methods.
Just import it, and the global usages are replaced with this wrapper.

Implements

Console

Example

ts
import { console } from '@enke.dev/lit-utils/lib/utils/log.utils.js';

console.log('This message is logged using the custom console wrapper.');