Console.hh File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <boost/thread.hpp>
#include "gazebo/common/SingletonT.hh"
#include "gazebo/common/CommonTypes.hh"
#include "gazebo/util/system.hh"

Go to the source code of this file.

Classes

class  Logger::Buffer
 String buffer for the base logger. More...
 
class  FileLogger::Buffer
 String buffer for the file logger. More...
 
class  Console
 Container for loggers, and global logging options (such as verbose vs. More...
 
class  FileLogger
 A logger that outputs messages to a file. More...
 
class  Logger
 Terminal logger. More...
 

Namespaces

 gazebo
 Forward declarations for the common classes.
 
 gazebo::common
 Common namespace.
 

Macros

#define gzdbg   (gazebo::common::Console::dbg(__FILE__, __LINE__))
 Output a debug message. More...
 
#define gzerr   (gazebo::common::Console::err(__FILE__, __LINE__))
 Output an error message. More...
 
#define gzlog   (gazebo::common::Console::log())
 Output a message to a log file. More...
 
#define gzLogDirectory()   (gazebo::common::Console::log.GetLogDirectory())
 Get the full path of the directory where the log files are stored. More...
 
#define gzLogInit(_prefix, _str)   (gazebo::common::Console::log.Init(_prefix, _str))
 Initialize log file with filename given by _str. More...
 
#define gzmsg   (gazebo::common::Console::msg())
 Output a message. More...
 
#define gzwarn   (gazebo::common::Console::warn(__FILE__, __LINE__))
 Output a warning message. More...