Logging utilities.
More...
|
template<class T = std::string> |
decltype(std::cout) & | log (T &&value) |
| Output a value on stdout and terminate with a line break. More...
|
|
template<class T = std::string> |
decltype(std::cerr) & | error (T &&value) |
| Output a value on stderr and terminate with a line break. More...
|
|
◆ error()
template<class T = std::string>
decltype(std::cerr) & scl::tools::iostream::log::error |
( |
T && |
value | ) |
|
|
inline |
Output a value on stderr and terminate with a line break.
- Returns
- a reference to std::cerr
Definition at line 25 of file basic.h.
◆ log()
template<class T = std::string>
decltype(std::cout) & scl::tools::iostream::log::log |
( |
T && |
value | ) |
|
|
inline |
Output a value on stdout and terminate with a line break.
- Returns
- a reference to std::cout
Definition at line 16 of file basic.h.