Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CreateTeeWriter function to logutil #2652

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Conversation

andrewsun2898
Copy link

No description provided.

10000TB
10000TB previously approved these changes Apr 11, 2023
pkg/logutil/logutil.go Outdated Show resolved Hide resolved
@rminnich rminnich added the Awaiting author Waiting for new changes or feedback for author. label Apr 11, 2023
@andrewsun2898 andrewsun2898 changed the title Don't automatically set output to new writer Add CreateTeeWriter function to logutil Apr 11, 2023
@andrewsun2898 andrewsun2898 added Awaiting reviewer Waiting for a reviewer. and removed Awaiting author Waiting for new changes or feedback for author. labels Apr 11, 2023
Copy link
Member

@rminnich rminnich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I realized it needed on last bit of fixing.

pkg/logutil/logutil.go Outdated Show resolved Hide resolved
Add a function to create the tee writer without setting it to be the log
output.

Signed-off-by: Andrew <andrewsun@google.com>
@rminnich rminnich merged commit ea00a7c into u-root:main Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting reviewer Waiting for a reviewer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants