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 support for setting preferred output target #145

Merged
merged 1 commit into from
Sep 16, 2022

Commits on Sep 16, 2022

  1. Add support for setting preferred output target

    Add ExitState.SetOutputTarget method to provide client code
    the ability to override the destination output sink. This
    could be used to redirect output to a file, a tee writer
    or an in-memory buffer for test purposes.
    
    Default to os.Stdout if user does not specify a custom output
    sink.
    
    refs GH-140
    atc0005 committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    c3be59d View commit details
    Browse the repository at this point in the history