gitwtfhub

wtf is loggy?

garthk/loggy — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2016-03-30

JavaScriptAudience · developerComplexity · 1/5DormantSetup · easy

TL;DR

A lightweight Node.js logging library that adds color, timestamps, and desktop notifications to terminal output, sending errors and warnings to stderr and regular logs to stdout.

Mindmap

mindmap
  root((repo))
    What it does
      Colored log levels
      Timestamps on messages
      Desktop notifications
      Tracks if error occurred
    Tech stack
      JavaScript
      Node.js
    Use cases
      Build tool output
      Dev server logs
      CLI app messages
    Audience
      Developers
    Design choices
      Errors go to stderr
      Logs go to stdout
      Minimal setup

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Add colored, timestamped logging to a Node.js build script or CLI tool.

REASON 2

Get a desktop notification when a build or script fails, even if you're not watching the terminal.

REASON 3

Pipe stdout and stderr separately since regular logs and errors are routed to different streams.

REASON 4

Exit a script with an error code only when an error was actually logged.

What's in the stack?

JavaScriptNode.js

How it stacks up

garthk/loggy3rd-eden/ircb.ioa15n/a15n
LanguageJavaScriptJavaScriptJavaScript
Last pushed2016-03-302016-11-162019-04-07
MaintenanceDormantDormantDormant
Setup difficultyeasyeasyeasy
Complexity1/52/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Yoink these prompts

Prompt 1
Add this loggy library to my Node.js CLI tool so errors show in red and success messages show in green.
Prompt 2
Show me how to configure loggy to send a desktop notification only when an error is logged.
Prompt 3
Write a build script using loggy that logs 'Building project' in green and 'Build failed' in red.
Prompt 4
How do I disable colors in loggy for CI environments that don't support ANSI output?
Prompt 5
Explain how loggy tracks whether an error occurred so I can set my script's exit code accordingly.

Frequently asked questions

wtf is loggy?

A lightweight Node.js logging library that adds color, timestamps, and desktop notifications to terminal output, sending errors and warnings to stderr and regular logs to stdout.

What language is loggy written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js.

Is loggy actively maintained?

Dormant — no commits in 2+ years (last push 2016-03-30).

How hard is loggy to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is loggy for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.