#include <styler_proxy.hpp>
|
std::ostream & | m_stream |
|
const bool | m_stream_is_stdout |
|
const bool | m_stream_is_stderr |
|
IO manipulator proxy responsible for performing the underlying stream manipulations.
This class essentially exists as a common base class for OS dependent implementations to inherit.
- Author
- Timothy Flynn (trfly.nosp@m.nn89.nosp@m.@pm.m.nosp@m.e)
- Version
- July 11, 2020
◆ StylerProxy()
fly::logger::detail::StylerProxy::StylerProxy |
( |
std::ostream & |
stream | ) |
|
|
explicitnoexcept |
Constructor. Concrete implementations should use their constructor to manipulate the provided stream.
- Parameters
-
stream | The stream to manipulate. |
◆ ~StylerProxy()
virtual fly::logger::detail::StylerProxy::~StylerProxy |
( |
| ) |
|
|
virtualdefault |
Destructor. Concrete implementations should use their destructor to reset the stream to its original state.
◆ operator<<
template<typename T >
std::ostream& operator<< |
( |
const StylerProxy & |
proxy, |
|
|
const T & |
value |
|
) |
| |
|
friend |
Proxy streaming implementation to stream any value onto a proxy's stored stream.
- Parameters
-
proxy | The StylerProxy instance holding the stream. |
value | The value to stream. |
- Returns
- A reference to the stored stream.
The documentation for this class was generated from the following files: