C++, Java and C# light-weight-logger
This is a library I've been working on with versions for C++, java & C# where you make custom formats and Log based on them, for example you could make an ERROR Like this: [ERROR] [date, time-stamp, time-zone] (file:thread-ID:line) but you would write it like this: // define the master format master_style = "%C[%N]%c%S%G[%D %T %Z]%c %M %G(%F:%t:%L)"; // tell the logger what colour to use for a given name logger.add_format("ERROR", master_style, Colour::RED); so now the [ERROR] part will be red, the time area will be grey, and the location grey, but you could really make…
In plain words
This is a lightweight logging library available for C++, Java, and C#. It lets developers create custom log message formats using a template system with format codes for timestamps, file names, thread IDs, and line numbers. Users define a master format string once, then apply it to different log types with custom colors—for example, ERROR logs in red, SUCCESS in green, and INFO in cyan. The library handles the formatting and coloring automatically based on the defined templates.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
This is a library I've been working on with versions for C++, java & C# where you make custom formats and Log based on them, for example you could make an ERROR Like this: [ERROR] [date, time-stamp, time-zone] <main log message> (file:thread-ID:line) but you would write it like this: // define the master format master_style = "%C[%N]%c%S%G[%D %T %Z]%c %M %G(%F:%t:%L)"; // tell the logger what colour to use for a given name logger.add_format("ERROR", master_style, Colour::RED); so now the [ERROR] part will be red, the time area will be grey, and the location grey, but you could really make any style you wanted. And once you have a master format you could also add different types of logs: logger.add_format("SUCCESS", style_minimal, Colour::GREEN); logger.add_format("INFO", master_style, Colour::CYAN); logger.add_format("WARN", master_style, Colour::YELLOW); also the %S we put in there is actualy a colum padder so you logs will be inline: [INFO] [16/06/2026 10:58:00 AUS Eastern Standard Time] Initializing core subsystem components. (src/main.cpp:1:39) [SUCCESS][16/06/2026 10:58:00 AUS Eastern Standard Time] Database connection established smoothly. (src/main.cpp:1:40) [WARN] [16/06/2026 10:58:00 AUS Eastern Standard Time] High memory usage detected on node cluster. (src/main.cpp:1:41) [ERROR] [16/06/2026 10:58:00 AUS Eastern Standard Time] Failed to write to write-ahead log! (src/main.cpp:1:42)
More life & fun this month
the category →- TL
Life & fun · 10d ago · louisabraham.github.io

Photosynthesis fires two of your iPhone
Life & fun · 28d ago · photosynthesis.camera
SoloUno▲310Take control of hair pulling, nail biting & skin picking
Life & fun · 28d ago · solouno.io

Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.
Life & fun · 26d ago · everycube.alen.is


Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…
Life & fun · 26d ago · baselashraf81.github.io
Launched alongside, June 2026
the whole month →
Fundraisly▲1,544AI fundraising agent that finds investors and books meetings
AI · Jun 2026 · fundraisly.com
- H6Homebrew 6.0.0▲1,481
Today, I’m proud to announce Homebrew 6.0.0. The most significant changes since 5.1.0 are a new tap trust security mechanism, the new faster, smaller, default internal Homebrew JSON API, sandboxing on Linux, better defaults informed by our user survey, many brew bundle improvements, improved performance and initial support for macOS 27 (Golden Gate). Happy to discuss any questions here!
Dev tools · Jun 2026 · brew.sh
- PU
hope you enjoy
Life & fun · Jun 2026 · vorpus.github.io


- IM
Life & fun · Jun 2026 · hackernewstrends.com