JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 174
  • Score
    100M100P100Q67028F
  • License MIT

Structured console-style logger with filtering support

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 or LOG_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