78 inline void indent(
size_t amount = 1)
101 _line =
new std::stringstream();
110 return line().str().size();
121 std::string data =
line().str();
122 data.erase(position);
131 inline std::stringstream&
line()
140 inline const std::stringstream&
line()
const
152 std::stringstream* _line;
164 std::ostream&
operator<<(std::ostream&, logger&);
Definition: logger.hpp:19
void clear()
Definition: logger.hpp:98
void indent(size_t amount=1)
Definition: logger.hpp:78
bool is_progressive() const
Definition: logger.hpp:67
std::stringstream & line()
Definition: logger.hpp:131
const std::stringstream & line() const
Definition: logger.hpp:140
void unindent(size_t amount=1)
Definition: logger.hpp:89
bool is_verbose() const
Definition: logger.hpp:58
bool is_quiet() const
Definition: logger.hpp:49
friend std::ostream & operator<<(std::ostream &, logger &)
Stream operator.
Definition: logger.cpp:42
logger(log_level level)
Definition: logger.cpp:19
size_t size() const
Definition: logger.hpp:108
void erase(size_t position)
Definition: logger.hpp:119
log_level level() const
Definition: logger.hpp:40
virtual ~logger()
Definition: logger.cpp:29
Definition: algorithm.hpp:14
std::ostream & operator<<(std::ostream &stream, const binary_linear_space &space)
Definition: binary_linear_space.hpp:205
log_level
Definition: common.hpp:36
@ LOG_VERBOSE
Definition: common.hpp:37
@ LOG_PROGRESSIVE
Definition: common.hpp:37
@ LOG_QUIET
Definition: common.hpp:37