drin opened a new pull request, #13383:
URL: https://github.com/apache/arrow/pull/13383

   This defines 2 new functions: `Status::Warn()` and `Status::Warn(const 
string&)`.
   
   For non-successful statuses, these functions log:
   * a simple header -- `-- Arrow Warning --`
   * a detail message (optional)
   * the string representation of the status itself
   
   Here is example output:
   ```cpp
   /.../arrow/status.cc:137: -- Arrow Warning --
   /.../arrow/status.cc:139: Test warning message
   /.../arrow/status.cc:142: Invalid: warn_summary
   ```
   
   For the following example code:
   ```cpp
   Status warn_status { Status::Invalid("warn_summary") };
   warn_status.Warn("Test warning message");
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to