Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
arion::colorstream Class Reference

A stringstream extended class, which allows the use of LOG_COLOR colors for logging. More...

#include <logger.hpp>

Inheritance diagram for arion::colorstream:

Public Member Functions

colorstreamoperator<< (const LOG_COLOR &color)
 
template<typename T >
colorstreamoperator<< (const T &value)
 

Detailed Description

A stringstream extended class, which allows the use of LOG_COLOR colors for logging.

Member Function Documentation

◆ operator<<() [1/2]

colorstream & arion::colorstream::operator<< ( const LOG_COLOR color)
inline

The redefined stream insertion operator for coloring purpose.

Parameters
[in]colorColor of the next text to be inserted in the current colorstream.
Returns
The current colorstream instance.

◆ operator<<() [2/2]

template<typename T >
colorstream & arion::colorstream::operator<< ( const T &  value)
inline

Stream insertion operator for generic types. Allows inserting any type that supports the standard stream insertion operator.

Template Parameters
TType of the value being inserted into the stream.
Parameters
[in]valueThe value to insert into the stream.
Returns
The current colorstream instance.

The documentation for this class was generated from the following file: