Temporarily selects a configured or explicit content color.
More...
#include <StormByte/logger/manipulators.hxx>
|
| std::optional< Color > | value |
| | Explicit color, or empty for the configured level color.
|
| |
Temporarily selects a configured or explicit content color.
◆ operator()()
| constexpr ColorManip StormByte::Logger::ColorManip::operator() |
( |
Color |
selected | ) |
const |
|
inlineconstexprnoexcept |
Select an explicit color for subsequent content.
- Parameters
-
| selected | Color to use until another color manipulator or endl. |
- Returns
- A color manipulator carrying the selected color.
◆ value
| std::optional<Color> StormByte::Logger::ColorManip::value |
Explicit color, or empty for the configured level color.
The documentation for this struct was generated from the following file: