Support Class Library
A set of tools providing classes and utility
Namespaces | Functions
prefixed.h File Reference
#include <string>
#include <iostream>
#include <functional>
#include <scl/tools/iostream/nl.h>
#include <scl/macros.h>

Go to the source code of this file.

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::tools
 General purpose tooling.
 
 scl::tools::iostream
 Namespace for the iostream oriented tools.
 
 scl::tools::iostream::log
 Logging utilities.
 
 scl::tools::iostream::log::prefixed
 Logging funtions with prefixes.
 

Functions

template<class T = std::string>
std::function< decltype(std::cout)&(const T &)> scl::tools::iostream::log::prefixed::log (const char *const prefix)
 Log for the given type on stdout w/ a prefix and end with a line break. More...
 
template<class T = std::string>
std::function< decltype(std::cerr)&(const T &)> scl::tools::iostream::log::prefixed::error (const char *const prefix)
 Log for the given type on stderr w/ a prefix and end with a line break. More...