Skip to content

feat: align log to stream + output stream to console - #409

Merged
galkahana merged 1 commit into
mainfrom
galk.log_to_console
Jun 21, 2026
Merged

feat: align log to stream + output stream to console#409
galkahana merged 1 commit into
mainfrom
galk.log_to_console

Conversation

@galkahana

@galkahana galkahana commented Jun 21, 2026

Copy link
Copy Markdown
Owner

build facility for logging to console.
got reminded that log can be to stream, i only was missing an IByteWriter implementation to cout. so added one.

(also removed initializing mLog for the stream case, to align with file, with lazy creation avoiding what threads issues i had back then).

now it's possible to just log to stream in tests and get it right to the console, instead of creating file and then having to go and read it. much more convenient.

if logging to console, then to check logs within test context, then where running ctest, add -V to show console output.

@galkahana
galkahana merged commit e8b34fe into main Jun 21, 2026
4 checks passed
@galkahana
galkahana deleted the galk.log_to_console branch June 21, 2026 16:59
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.

1 participant