Log

A tool to customize and highlight your logs in the console.

Example

import { Log } from '@/lib';

Log.success('This is my log', 'Title');

Usage

You can use multiple levels of logs, which will change the color of the associated log :

  • info
  • success
  • warn
  • error

The title of the log is also optional. If not filled, it will be its level.