Robot Raconteur Core C++ Library
Classes | Typedefs | Functions
Logging.h File Reference

Go to the source code of this file.

Classes

class  RobotRaconteur::RRLogRecord
 Robot Raconteur log record. More...
 
class  RobotRaconteur::LogRecordHandler
 Base class of log record handler. More...
 
class  RobotRaconteur::FileLogRecordHandler
 Log record handler that saves to a file. More...
 

Typedefs

using RobotRaconteur::LogRecordHandlerPtr = boost::shared_ptr< LogRecordHandler >
 Convenience alias for LogRecordHandler shared_ptr.
 
using RobotRaconteur::LogRecordHandlerConstPtr = boost::shared_ptr< const LogRecordHandler >
 Convenience alias for LogRecordHandler const shared_ptr.
 
using RobotRaconteur::FileLogRecordHandlerPtr = boost::shared_ptr< FileLogRecordHandler >
 Convenience alias for FileLogRecordHandler shared_ptr.
 
using RobotRaconteur::FileLogRecordHandlerConstPtr = boost::shared_ptr< const FileLogRecordHandler >
 Convenience alias for FileLogRecordHandler const shared_ptr.
 

Functions

std::ostream & RobotRaconteur::operator<< (std::ostream &out, const RRLogRecord &record)
 Write a RRlogRecord to a stream.
 
std::string RobotRaconteur::RRLogRecord_Level_ToString (RobotRaconteur_LogLevel level)
 Convert a RobotRaconteur_LogLevel code to a string.
 
std::string RobotRaconteur::RRLogRecord_Component_ToString (RobotRaconteur_LogComponent component)
 Convert a RobotRaconteur_LogComponent code to a string.
 
std::string RobotRaconteur::RRLogRecord_Node_ToString (const RR_WEAK_PTR< RobotRaconteurNode > &node)
 Convert a RobotRaconteurNode weak_ptr to a NodeID string. Returns "unknown" if could not resolve.
 

Detailed Description

Author
John Wason, PhD
License
Software License Agreement (Apache License)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
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.