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 a DebugTo convenience funtion #1414

Merged
merged 1 commit into from Sep 6, 2022
Merged

Commits on Sep 6, 2022

  1. Add a DebugTo convenience funtion

    One might want to write the debug information somewhere other than
    Stdout. This patch adss a DebugTo function and method, that accepts
    an io.Writer. It changes the original Debug implementation to call
    this new function with a default of os.Stdout, which maintains
    backward compatibility.
    
    Signed-off-by: Brad P. Crochet <brad@redhat.com>
    bcrochet committed Sep 6, 2022
    Copy the full SHA
    23cceec View commit details
    Browse the repository at this point in the history