Skip to content

Refactor galog backends and add stdout backend. - #36

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_928830004
Jun 10, 2026
Merged

Refactor galog backends and add stdout backend.#36
copybara-service[bot] merged 1 commit into
mainfrom
test_928830004

Conversation

@copybara-service

Copy link
Copy Markdown

Refactor galog backends and add stdout backend.

Introduces a shared writerBackend to reduce code duplication between StderrBackend and the new StdoutBackend. StderrBackend now only logs ErrorLevel messages, while StdoutBackend logs all levels except ErrorLevel. The NewStderrBackend function no longer requires a writer argument.

@copybara-service
copybara-service Bot force-pushed the test_928830004 branch 5 times, most recently from 057d73c to 3f157bb Compare June 10, 2026 18:57
Introduces a shared writerBackend to reduce code duplication between `StderrBackend` and the new `StdoutBackend`. StderrBackend now only logs ErrorLevel messages, while StdoutBackend logs all levels except ErrorLevel. The NewStderrBackend function no longer requires a writer argument.

PiperOrigin-RevId: 929995172
@copybara-service
copybara-service Bot merged commit 59ef555 into main Jun 10, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_928830004 branch June 10, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant