Goby v2
|
Forms the basis of the Goby logger: std::ostream derived class for holding the FlexOStreamBuf. More...
#include <goby/common/logger/flex_ostream.h>
Public Member Functions | |
void | refresh () |
void | set_group (const std::string &s) |
void | set_unset_verbosity () |
Initialization | |
void | add_group (const std::string &name, Colors::Color color=Colors::nocolor, const std::string &description="") |
Add another group to the logger. A group provides related manipulator for categorizing log messages. | |
void | set_name (const std::string &s) |
Set the name of the application that the logger is serving. | |
void | enable_gui () |
bool | is (goby::common::logger::Verbosity verbosity) |
void | add_stream (logger::Verbosity verbosity=logger::VERBOSE, std::ostream *os=0) |
Attach a stream object (e.g. std::cout, std::ofstream, ...) to the logger with desired verbosity. | |
void | add_stream (goby::common::protobuf::GLogConfig::Verbosity verbosity=goby::common::protobuf::GLogConfig::VERBOSE, std::ostream *os=0) |
const FlexOStreamBuf & | buf () |
Overloaded insert stream operator<< | |
std::ostream & | operator<< (FlexOstream &(*pf)(FlexOstream &)) |
std::ostream & | operator<< (std::ostream &(*pf)(std::ostream &)) |
std::ostream & | operator<< (bool &val) |
std::ostream & | operator<< (const short &val) |
std::ostream & | operator<< (const unsigned short &val) |
std::ostream & | operator<< (const int &val) |
std::ostream & | operator<< (const unsigned int &val) |
std::ostream & | operator<< (const long &val) |
std::ostream & | operator<< (const unsigned long &val) |
std::ostream & | operator<< (const float &val) |
std::ostream & | operator<< (const double &val) |
std::ostream & | operator<< (const long double &val) |
std::ostream & | operator<< (std::streambuf *sb) |
std::ostream & | operator<< (std::ios &(*pf)(std::ios &)) |
std::ostream & | operator<< (std::ios_base &(*pf)(std::ios_base &)) |
Thread safety related | |
boost::recursive_mutex & | mutex () |
Get a reference to the Goby logger mutex for scoped locking. | |
void | set_lock_action (logger_lock::LockAction lock_action) |
Friends | |
template<typename T > | |
void | boost::checked_delete (T *) |
std::ostream & | operator<< (FlexOstream &out, char c) |
std::ostream & | operator<< (FlexOstream &out, signed char c) |
std::ostream & | operator<< (FlexOstream &out, unsigned char c) |
std::ostream & | operator<< (FlexOstream &out, const char *s) |
std::ostream & | operator<< (FlexOstream &out, const signed char *s) |
std::ostream & | operator<< (FlexOstream &out, const unsigned char *s) |
Forms the basis of the Goby logger: std::ostream derived class for holding the FlexOStreamBuf.
Definition at line 43 of file flex_ostream.h.