qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Conway (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PROTON-772) Remove all direct printing to stdout and stderr.
Date Thu, 11 Dec 2014 05:26:12 GMT
Alan Conway created PROTON-772:

             Summary: Remove all direct printing to stdout and stderr.
                 Key: PROTON-772
                 URL: https://issues.apache.org/jira/browse/PROTON-772
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.8
            Reporter: Alan Conway
            Assignee: Alan Conway

A library should never, ever print anything directly to stdout/stderr unless explicitly requested
to do so, as it may be linked with programs that need to control what they output to stdout/err
or programs that have no stdout/err at all.

Failures should be raised  via the API error mechanism with appropriate message strings that
the caller can display as they see fit. Informational log messages should be logged in a way
that the caller can send them where they want or turn them off if they want.

This message was sent by Atlassian JIRA

View raw message