Forms the basis of the Goby logger: std::ostream derived class for holding the FlexOStreamBuf.
More...
#include <goby/util/debug_logger/flex_ostream.h>
Forms the basis of the Goby logger: std::ostream derived class for holding the FlexOStreamBuf.
Definition at line 43 of file flex_ostream.h.
◆ FlexOstream()
goby::util::FlexOstream::FlexOstream |
( |
| ) |
|
|
inline |
◆ ~FlexOstream()
goby::util::FlexOstream::~FlexOstream |
( |
| ) |
|
|
overridedefault |
◆ add_group()
void goby::util::FlexOstream::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.
◆ add_stream() [1/2]
◆ add_stream() [2/2]
Attach a stream object (e.g. std::cout, std::ofstream, ...) to the logger with desired verbosity.
Definition at line 89 of file flex_ostream.h.
◆ buf()
◆ enable_gui()
void goby::util::FlexOstream::enable_gui |
( |
| ) |
|
|
inline |
◆ is()
◆ is_debug1()
bool goby::util::FlexOstream::is_debug1 |
( |
| ) |
|
|
inline |
◆ is_debug2()
bool goby::util::FlexOstream::is_debug2 |
( |
| ) |
|
|
inline |
◆ is_debug3()
bool goby::util::FlexOstream::is_debug3 |
( |
| ) |
|
|
inline |
◆ is_die()
bool goby::util::FlexOstream::is_die |
( |
| ) |
|
|
inline |
◆ is_verbose()
bool goby::util::FlexOstream::is_verbose |
( |
| ) |
|
|
inline |
◆ is_warn()
bool goby::util::FlexOstream::is_warn |
( |
| ) |
|
|
inline |
◆ mutex()
std::recursive_mutex& goby::util::FlexOstream::mutex |
( |
| ) |
|
|
inline |
Get a reference to the Goby logger mutex for scoped locking.
Definition at line 145 of file flex_ostream.h.
◆ operator<<() [1/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
bool & |
val | ) |
|
|
inline |
◆ operator<<() [2/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const double & |
val | ) |
|
|
inline |
◆ operator<<() [3/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const float & |
val | ) |
|
|
inline |
◆ operator<<() [4/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const int & |
val | ) |
|
|
inline |
◆ operator<<() [5/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const long & |
val | ) |
|
|
inline |
◆ operator<<() [6/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const long double & |
val | ) |
|
|
inline |
◆ operator<<() [7/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const long long & |
val | ) |
|
|
inline |
◆ operator<<() [8/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const short & |
val | ) |
|
|
inline |
◆ operator<<() [9/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const unsigned int & |
val | ) |
|
|
inline |
◆ operator<<() [10/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const unsigned long & |
val | ) |
|
|
inline |
◆ operator<<() [11/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
const unsigned short & |
val | ) |
|
|
inline |
◆ operator<<() [12/16]
◆ operator<<() [13/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
std::ios &(*)(std::ios &) |
pf | ) |
|
|
inline |
◆ operator<<() [14/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
std::ios_base &(*)(std::ios_base &) |
pf | ) |
|
|
inline |
◆ operator<<() [15/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
std::ostream &(*)(std::ostream &) |
pf | ) |
|
◆ operator<<() [16/16]
std::ostream& goby::util::FlexOstream::operator<< |
( |
std::streambuf * |
sb | ) |
|
|
inline |
◆ refresh()
void goby::util::FlexOstream::refresh |
( |
| ) |
|
|
inline |
◆ remove_stream()
void goby::util::FlexOstream::remove_stream |
( |
std::ostream * |
os = nullptr | ) |
|
|
inline |
◆ set_group()
void goby::util::FlexOstream::set_group |
( |
const std::string & |
s | ) |
|
|
inline |
◆ set_lock_action()
◆ set_name()
void goby::util::FlexOstream::set_name |
( |
const std::string & |
s | ) |
|
|
inline |
Set the name of the application that the logger is serving.
Definition at line 67 of file flex_ostream.h.
◆ operator<< [1/6]
◆ operator<< [2/6]
◆ operator<< [3/6]
◆ operator<< [4/6]
◆ operator<< [5/6]
◆ operator<< [6/6]
The documentation for this class was generated from the following file: