termstyle 1.0.0-pre.3
An open-source C++ header file that enables developers to easily define and apply customizable style presets for terminal outputs such as warnings, infos, and errors.
|
A class that provides styled output to the standard output stream. More...
#include <termstyle.hpp>
Public Member Functions | |
StyledCout (const PresetConfig &config) | |
template<typename T > | |
std::ostream & | operator<< (const T &value) |
A class that provides styled output to the standard output stream.
The StyledCout
class allows you to output text with custom styles to the standard output stream (std::cout
). It takes a PresetConfig
object as a parameter, which contains the configuration for the styles to be applied. The styles are applied to the text when it is printed to the standard output stream.