C+

C++, Java and C# light-weight-logger

Hacker News

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] <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)

Share card

Actual performance

12points
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
44%44% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Missing: mac, agents, macos
42%42% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
42%42% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
42%42% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
30%30% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Co
Coffer – Light weight containerization based on chroot51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Coffer – Light weight containerization based on chroot

Hacker News3
Co
Coffer – Light weight containerization based on chroot51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Coffer – Light weight containerization based on chroot

Hacker News5
Le
LessEncrypt: A light-weight certificate signer for homelab and dev envs58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

LessEncrypt: A light-weight certificate signer for homelab and dev envs

Hacker News3
Co
Coffer – Light weight development containers53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Coffer – Light weight development containers

Hacker News1
Li
Light-weight C++ library for Keras51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Light-weight C++ library for Keras

Hacker News10
jQ
jQuery-Parse, A super light-weight $.ajax wrapper for Parse.com40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

jQuery-Parse, A super light-weight $.ajax wrapper for Parse.com

Hacker News6
Wh
When Will I Weigh? Weight Trajectory38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

When Will I Weigh? Weight Trajectory

Hacker News1
Li
Light weight and portable development environments with Coffer58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Light weight and portable development environments with Coffer

Hacker News1
Li
Light weight CoinMarketCap.com alternative with additional insights50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Light weight CoinMarketCap.com alternative with additional insights

Hacker News10
NimbleText
NimbleText37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Manipulate text and data with light-weight patterns

Indie Hackers1$300/moproductivity