Package Exports
- @variablesoftware/logface
Readme
@variablesoftware/logface
A fun, lightweight, structured console-style logger with tag-based filtering for TypeScript projects.
All the log fit for face. ๐
โจ Features
- Drop-in replacements for
console.*
methods - Optional
withTag()
to namespace logs - Supports filtering by tag or level via
LOG
orLOG_VERBOSE
environment variables
๐ Install
npm install @variablesoftware/logface
# or
yarn add @variablesoftware/logface
๐ง Usage
import { log } from "@variablesoftware/logface";
log.debug("booting up");
log.warn("careful now");
log.withTag("auth").info("user signed in");
Environment filtering
LOG=auth,debug node your-app.js
๐งช Test
yarn test
Runs basic assertions to confirm output and tagged behavior.
Built with โค๏ธ by @variablesoftware