Skip to content

Update codes & readme#2

Merged
FL1NE merged 6 commits intomasterfrom
claude/review-content-m6g5d
Mar 4, 2026
Merged

Update codes & readme#2
FL1NE merged 6 commits intomasterfrom
claude/review-content-m6g5d

Conversation

@FL1NE
Copy link
Owner

@FL1NE FL1NE commented Mar 4, 2026

No description provided.

claude added 6 commits March 3, 2026 11:41
- Extract getTimestamp() static helper to eliminate repeated timestamp formatting
- Delegate const char* overloads to std::string versions
- Replace localtime with localtime_r for thread safety

https://claude.ai/code/session_01H3zmpCbTU389PCbvYFyGiR
…sage helper

- Extract printMessage() to eliminate 5 near-identical output blocks
- Remove redundant const char* overloads (const std::string& accepts literals implicitly)
- Change pass-by-value std::string to const std::string& to avoid unnecessary copies

https://claude.ai/code/session_01H3zmpCbTU389PCbvYFyGiR
New level can be added with a single entry in LOG_TABLE (label, color, stream).
Expose log(LogLevel, message) for direct level selection at call site.

https://claude.ai/code/session_01H3zmpCbTU389PCbvYFyGiR
Compiles the library, builds test_main.cpp, and runs it to verify all
log levels work correctly on every push and pull request.

https://claude.ai/code/session_01H3zmpCbTU389PCbvYFyGiR
@FL1NE FL1NE merged commit 2a593b6 into master Mar 4, 2026
2 checks passed
@FL1NE FL1NE deleted the claude/review-content-m6g5d branch March 4, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants