#include <einhard.hpp>
A wrapper for the output stream taking care proper formatting and colorization of the output.
Definition at line 276 of file einhard.hpp.
Public Member Functions | |
| OutputFormatter (const OutputFormatter &)=delete | |
| OutputFormatter (OutputFormatter &&)=default | |
| template<LogLevel VERBOSITY> | |
| EINHARD_ALWAYS_INLINE_ | OutputFormatter (bool enabled_, bool const colorize_, const char *areaName, std::integral_constant< LogLevel, VERBOSITY >, std::FILE *outfile_=stdout) |
| template<typename T > | |
| OutputFormatter & | operator<< (const Color< T > &col) |
| EINHARD_ALWAYS_INLINE_ OutputFormatter & | operator<< (std::ostream &(*manip)(std::ostream &)) |
| template<typename T > | |
| EINHARD_ALWAYS_INLINE_ OutputFormatter & | operator<< (const T &msg) |
| EINHARD_ALWAYS_INLINE_ | ~OutputFormatter () |
Public Member Functions inherited from einhard::UnconditionalOutput | |
| template<LogLevel VERBOSITY> | |
| EINHARD_ALWAYS_INLINE_ | UnconditionalOutput (bool colorize_, const char *areaName, std::integral_constant< LogLevel, VERBOSITY >) |
| template<typename T > | |
| UnconditionalOutput & | operator<< (const Color< T > &col) |
| EINHARD_ALWAYS_INLINE_ UnconditionalOutput & | operator<< (std::ostream &(*manip)(std::ostream &)) |
| template<typename T > | |
| EINHARD_ALWAYS_INLINE_ UnconditionalOutput & | operator<< (const T &msg) |
| void | doCleanup (std::FILE *outfile=stdout) noexcept |
Private Attributes | |
| std::FILE *const | outfile |
| const bool | enabled |
Additional Inherited Members | |
Protected Member Functions inherited from einhard::UnconditionalOutput | |
| EINHARD_ALWAYS_INLINE_ | UnconditionalOutput (bool colorize_) |
| template<LogLevel VERBOSITY> | |
| void | doInit (const char *areaName) |
| void | checkColorReset () |
|
delete |
|
default |
|
inline |
Definition at line 289 of file einhard.hpp.
|
inline |
Definition at line 329 of file einhard.hpp.
|
inline |
Definition at line 301 of file einhard.hpp.
|
inline |
|
inline |
|
private |
Definition at line 280 of file einhard.hpp.
|
private |
Definition at line 282 of file einhard.hpp.