frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: C++, Java and C# Light-Weight-Logger

https://github.com/PenguineDavid/GeekGreek
1•PenguineDavid•1h ago

Comments

stop50•1h ago
Wrong repo
PenguineDavid•57m ago
I am an idiot sorry it's https://github.com/PenguineDavid/light-weight-logger new to HN can I edit my post?
PenguineDavid•50m ago
darn it I was gonna make a show HN for that link now I can't cuz I can't use the same link twice...
PenguineDavid•55m ago
I may have accidentally put the link to the wrong repo it's at https://github.com/PenguineDavid/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] <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)

Most rewrites serve the engineer, not the business

https://anatoliybabushka.com/blog/when-to-rewrite-working-code.html
1•bbsnly•59s ago•0 comments

Show HN: Ekbatan – Java persistence framework for event-driven systems

https://zyraz-io.github.io/ekbatan/
1•unikzforce•1m ago•0 comments

Show HN: Drag'n'drop OpenCode Config Generator

https://nenadg.github.io/opencode-configurator/
1•nenadg•1m ago•0 comments

Show HN: Munin – open-source headless HubSpot alternative

https://github.com/getmunin/munin
1•kman_85•2m ago•0 comments

SocOCRbench – An OCR benchmark for social science documents

https://noahdasanaike.github.io/posts/sococrbench.html
1•KnightHawk3•2m ago•0 comments

Whither – HTTP redirect service powered by Wikipedia

https://whither.link/
2•dopple•3m ago•0 comments

Show HN: AgentShare Agent Readiness – Scan and optimize your site for AI bots

https://chromewebstore.google.com/detail/agentshare-agent-readines/nimndnhajfkicbnipbfdkmgencjejjed
1•Anh_Nguyen_vn•4m ago•0 comments

I Spent a Week in a Hacker House

https://www.theatlantic.com/technology/2026/06/hacker-houses-ai-boom-san-francisco/687737/
1•samizdis•6m ago•0 comments

Yt-Dlp Sequence Diagrams

https://app.ilograph.com/demo.ilograph.yt-dlp/Download%2520a%2520YouTube%2520Video
3•billyp-rva•8m ago•0 comments

Show HN: Open Schematics V2 – Largest open electronic schematics dataset

https://huggingface.co/datasets/bshada/open-schematics
1•_bshada•8m ago•0 comments

How Time Series Databases Work–and Where They Don't

https://www.honeycomb.io/blog/time-series-database
1•tosh•12m ago•0 comments

I Type Holes in Keyboard Covers – This One Survived

https://medium.com/@jamesgarside_/i-type-holes-in-keyboard-covers-e5664732ef93
1•monkeymagick•12m ago•0 comments

Buddhism and Big Bird Will Make You Brave

https://medium.com/the-taoist-online/buddhism-and-big-bird-will-make-you-brave-3b293b52078e
1•monkeymagick•14m ago•0 comments

Incorporate Monads and Category Theory

https://github.com/promises-aplus/promises-spec/issues/94
1•fagnerbrack•14m ago•0 comments

Observability Engineering (2nd Edition)

https://www.honeycomb.io/blog/honeycomb-releases-second-edition-observability-engineering-redefin...
1•tosh•15m ago•0 comments

EU: Proposed reform dangerously erodes privacy, automates surveillance

https://protectnotsurveil.eu/resources/press-release-europol-mandate-overhault-2026/
1•nickslaughter02•15m ago•2 comments

Online Age Verification Law Could Kill Whistleblowing – Dropsafe

https://alecmuffett.com/article/161713
2•bilsbie•16m ago•0 comments

Honeycomb: Migrating to Time Series Metrics

https://docs.honeycomb.io/troubleshoot/product-lifecycle/recommended-migrations/migrate-to-time-s...
1•tosh•16m ago•0 comments

The Drivers, Dynamics, and Applications of the Pro-Russia Influence Ecosystem

https://cloud.google.com/blog/topics/threat-intelligence/pro-russia-influence-ecosystem/
1•hacb•19m ago•0 comments

Verification, not generation, is the bottleneck in AI coding

https://spark.temrel.com/p/the-audit-tax-why-your-agent-made-you-slower-d4e0
1•bentemrel•19m ago•0 comments

American Pride Falls to 25-Year Record Low

https://news.gallup.com/poll/711938/american-pride-falls-year-record-low.aspx
4•giuliomagnifico•22m ago•0 comments

Show HN: I indexed 37h of my videos using an RTX 4090 and local ML models in 24h

1•iliashad•25m ago•1 comments

A single MR with 52k commits had stalled GitLab CI

https://gitlab.com/gitlab-com/gl-infra/production/-/work_items/22412
4•ramon156•26m ago•0 comments

GitLab CI Is Down

https://status.gitlab.com/
3•absqueued•27m ago•1 comments

VPSMaxxing – Migrate Your Codex, Claude Code and Other Agents to a VPS

https://github.com/Kuberwastaken/VPSmaxxing
1•kuberwastaken•28m ago•1 comments

The emergence of human influence on the ozone layer by the 1960s

https://www.pnas.org/doi/10.1073/pnas.2608286123
1•croes•29m ago•0 comments

Why does AI still forget what your codebase is "for"?

https://www.reddit.com/r/Brunelly/s/UdTgItmmlS
1•RihabAI•30m ago•1 comments

On Lazy Secrets Management

https://radekmie.dev/blog/on-lazy-secrets-management/
1•thunderbong•35m ago•0 comments

Show HN: ZenLocks – A privacy-first, subscription-free iOS screen time blocker

https://zenlocks.haogre.com
1•haogre•35m ago•0 comments

I found a vulnerability in an IRS authorized e-file vendor's app. What's next?

2•kevinminehart•38m ago•0 comments