StdErrorLogOutput.cpp
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 //----------------------------------------------------------------------
00009 //----------------------------------------------------------------------
00010 #include <iostream>
00011 
00012 #include "icl_core_logging/Logging.h"
00013 #include "icl_core_logging/StdErrorLogOutput.h"
00014 
00015 namespace icl_core {
00016 namespace logging {
00017 
00018 REGISTER_LOG_OUTPUT_STREAM(Stderr, &StdErrorLogOutput::create)
00019 
00020 LogOutputStream *StdErrorLogOutput::create(const icl_core::String& name,
00021                                            const icl_core::String& config_prefix,
00022                                            icl_core::logging::LogLevel log_level)
00023 {
00024   return new StdErrorLogOutput(name, config_prefix, log_level);
00025 }
00026 
00027 void StdErrorLogOutput::pushImpl(const icl_core::String& log_line)
00028 {
00029   std::cerr << log_line;
00030 }
00031 
00032 }
00033 }


schunk_svh_driver
Author(s): Georg Heppner
autogenerated on Fri Aug 28 2015 12:59:19