diff options
Diffstat (limited to 'M4-RCs/qpid/cpp/src/qpid/log/OstreamOutput.h')
-rw-r--r-- | M4-RCs/qpid/cpp/src/qpid/log/OstreamOutput.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/M4-RCs/qpid/cpp/src/qpid/log/OstreamOutput.h b/M4-RCs/qpid/cpp/src/qpid/log/OstreamOutput.h deleted file mode 100644 index 8bbfc8c38b..0000000000 --- a/M4-RCs/qpid/cpp/src/qpid/log/OstreamOutput.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef QPID_LOG_OSTREAMOUTPUT_H -#define QPID_LOG_OSTREAMOUTPUT_H - -/* - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include "Logger.h" -#include <boost/scoped_ptr.hpp> -#include <fstream> -#include <ostream> - -namespace qpid { -namespace log { - -/** - * OstreamOutput is a reusable logging sink that directs logging to a C++ - * ostream. - */ -class OstreamOutput : public qpid::log::Logger::Output { -public: - OstreamOutput(std::ostream& o); - OstreamOutput(const std::string& file); - - virtual void log(const Statement&, const std::string& m); - -private: - std::ostream* out; - boost::scoped_ptr<std::ostream> mine; -}; - -}} // namespace qpid::log - -#endif /*!QPID_LOG_OSTREAMOUTPUT_H*/ |