|
libcosmos
Linux C++ System Programming Library
|
Internal state for each channel's stream. More...
#include <ILogger.hxx>
Public Member Functions | |
| StreamState (const std::string_view p, const term::ColorSpec &c) | |
Public Attributes | |
| std::ostream * | stream = nullptr |
| bool | enabled = false |
| bool | is_tty = false |
| const std::string_view | prefix |
| const term::ColorSpec | color |
Internal state for each channel's stream.
Definition at line 61 of file ILogger.hxx.
|
inline |
Definition at line 62 of file ILogger.hxx.
| const term::ColorSpec cosmos::ILogger::StreamState::color |
Definition at line 69 of file ILogger.hxx.
| bool cosmos::ILogger::StreamState::enabled = false |
Definition at line 66 of file ILogger.hxx.
| bool cosmos::ILogger::StreamState::is_tty = false |
Definition at line 67 of file ILogger.hxx.
| const std::string_view cosmos::ILogger::StreamState::prefix |
Definition at line 68 of file ILogger.hxx.
| std::ostream* cosmos::ILogger::StreamState::stream = nullptr |
Definition at line 65 of file ILogger.hxx.