Skip to content

Usage

The idea is that you’d use this in a similar way to a normal console.log however, the first parameter is always a message to briefy explain the issue or add a “tag” to easily look up logs in your platform of choice.

import { trace } from "@/modules/utility/trace"
trace.warn("[AUTH]", {
error,
password // just kidding
})