#include <icy/logger.h>Inherits:
LogChannel
Log channel that writes formatted messages to standard output.
| Return | Name | Description |
|---|---|---|
ConsoleChannel | #### Parameters | |
void | write virtual | Formats and writes the log stream entry to stdout. Messages below the channel level or filtered by realm are silently dropped. |
ConsoleChannel(std::string name, Level level, std::string timeFormat)name Unique channel name.
level Minimum severity level; messages below this level are dropped.
timeFormat strftime-compatible format string for timestamps.
virtual
virtual void write(const LogStream & stream)Formats and writes the log stream entry to stdout. Messages below the channel level or filtered by realm are silently dropped.
stream The log stream to write.