StdLogOutput.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/StdLogOutput.h"
00014 
00015 namespace icl_core {
00016 namespace logging {
00017 
00018 REGISTER_LOG_OUTPUT_STREAM(Stdout, &StdLogOutput::create)
00019 
00020 LogOutputStream *StdLogOutput::create(const icl_core::String& name, const icl_core::String& config_prefix,
00021                                       icl_core::logging::LogLevel log_level)
00022 {
00023   return new StdLogOutput(name, config_prefix, log_level);
00024 }
00025 
00026 void StdLogOutput::pushImpl(const icl_core::String& log_line)
00027 {
00028   std::cout << log_line;
00029 }
00030 
00031 }
00032 }


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