Goby3
3.1.5a
2024.05.23
|
Classes | |
class | Group |
Defines a group of messages to be sent to the Goby logger. For Verbosity == verbose streams, all entries appear interleaved, but each group is offset with a different color. For Verbosity == gui streams, all groups have a separate subwindow. More... | |
class | GroupSetter |
Helper class for enabling the group(std::string) manipulator. More... | |
Enumerations | |
enum | Verbosity { UNKNOWN = 3, QUIET = protobuf::GLogConfig::QUIET, WARN = protobuf::GLogConfig::WARN, VERBOSE = protobuf::GLogConfig::VERBOSE, DEBUG1 = protobuf::GLogConfig::DEBUG1, DEBUG2 = protobuf::GLogConfig::DEBUG2, DEBUG3 = protobuf::GLogConfig::DEBUG3, DIE = -1 } |
Functions | |
std::ostream & | die (std::ostream &os) |
label stream as "error" More... | |
std::ostream & | warn (std::ostream &os) |
label stream as "warning" More... | |
std::ostream & | verbose (std::ostream &os) |
label stream as "verbose" More... | |
std::ostream & | debug1 (std::ostream &os) |
label stream as "debug1" More... | |
std::ostream & | debug2 (std::ostream &os) |
label stream as "debug2" More... | |
std::ostream & | debug3 (std::ostream &os) |
label stream as "debug3" More... | |
std::ostream & | basic_log_header (std::ostream &os, const std::string &group_name) |
used for non tty ostreams (everything but std::cout / std::cerr) as the header for every line More... | |
std::ostream & | operator<< (std::ostream &os, const Group &g) |
std::ostream & | operator<< (std::ostream &os, const GroupSetter &gs) |
goby::util::FlexOstream & | operator<< (goby::util::FlexOstream &os, const GroupSetter &gs) |
Variables | |
std::recursive_mutex | mutex |
Enumerator | |
---|---|
UNKNOWN | |
QUIET | |
WARN | |
VERBOSE | |
DEBUG1 | |
DEBUG2 | |
DEBUG3 | |
DIE |
Definition at line 70 of file flex_ostreambuf.h.
std::ostream& goby::util::logger::basic_log_header | ( | std::ostream & | os, |
const std::string & | group_name | ||
) |
used for non tty ostreams (everything but std::cout / std::cerr) as the header for every line
|
inline |
label stream as "debug1"
Definition at line 58 of file logger_manipulators.h.
|
inline |
label stream as "debug2"
Definition at line 61 of file logger_manipulators.h.
|
inline |
label stream as "debug3"
Definition at line 64 of file logger_manipulators.h.
|
inline |
label stream as "error"
Definition at line 43 of file logger_manipulators.h.
goby::util::FlexOstream& goby::util::logger::operator<< | ( | goby::util::FlexOstream & | os, |
const GroupSetter & | gs | ||
) |
std::ostream& goby::util::logger::operator<< | ( | std::ostream & | os, |
const Group & | g | ||
) |
|
inline |
Definition at line 120 of file logger_manipulators.h.
|
inline |
label stream as "verbose"
Definition at line 55 of file logger_manipulators.h.
|
inline |
label stream as "warning"
Definition at line 49 of file logger_manipulators.h.
std::recursive_mutex goby::util::logger::mutex |