Goby3  3.1.5a
2024.05.23
logger_manipulators.h File Reference
#include <iostream>
#include <string>
#include <utility>
#include "term_color.h"

Go to the source code of this file.

Classes

class  goby::util::logger::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  goby::util::logger::GroupSetter
 Helper class for enabling the group(std::string) manipulator. More...
 

Namespaces

 goby
 The global namespace for the Goby project.
 
 goby::util
 
 goby::util::logger
 

Functions

std::ostream & goby::util::logger::die (std::ostream &os)
 label stream as "error" More...
 
std::ostream & goby::util::logger::warn (std::ostream &os)
 label stream as "warning" More...
 
std::ostream & goby::util::logger::verbose (std::ostream &os)
 label stream as "verbose" More...
 
std::ostream & goby::util::logger::debug1 (std::ostream &os)
 label stream as "debug1" More...
 
std::ostream & goby::util::logger::debug2 (std::ostream &os)
 label stream as "debug2" More...
 
std::ostream & goby::util::logger::debug3 (std::ostream &os)
 label stream as "debug3" More...
 
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 More...
 
std::ostream & goby::util::logger::operator<< (std::ostream &os, const Group &g)
 
std::ostream & goby::util::logger::operator<< (std::ostream &os, const GroupSetter &gs)
 
goby::util::FlexOstreamgoby::util::logger::operator<< (goby::util::FlexOstream &os, const GroupSetter &gs)
 
goby::util::logger::GroupSetter group (std::string n)
 

Function Documentation

◆ group()

goby::util::logger::GroupSetter group ( std::string  n)
inline

Definition at line 134 of file logger_manipulators.h.