THRIFT: generic output handler
authorboz <dev-null@apache.org>
Tue, 5 Jun 2007 22:41:18 +0000 (22:41 +0000)
committerboz <dev-null@apache.org>
Tue, 5 Jun 2007 22:41:18 +0000 (22:41 +0000)
commit6ded775196d10f86ac5b99843f018aa2b29772b8
treedf77ad7759e46f4aa57e65e75849ef26702020bd
parenta647903dd2edaa8cf846fe9dac4df82cf74740a0
THRIFT: generic output handler

Summary: I'm tired of getting output from thrift via perror AND exceptions, so
this class allows the client to set an alternate (or empty) handler for error
output

Reviewed By: mcslee

Test Plan: I ran on the worker with the default, got output via perror, then
overloaded with my own function and got output via syslog and then NULL

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665131 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/Thrift.cpp
lib/cpp/src/Thrift.h
lib/cpp/src/server/TNonblockingServer.cpp
lib/cpp/src/transport/TFileTransport.cpp
lib/cpp/src/transport/TFileTransport.h
lib/cpp/src/transport/TServerSocket.cpp
lib/cpp/src/transport/TSocket.cpp
lib/cpp/src/transport/TSocketPool.cpp