Public Member Functions | |
ConsoleLogSink (std::string appId, std::string appDescription) | |
Constructor. More... | |
void | Log (const LogStream &logStream) const override |
Log a stream corresponds to the current application. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ara::log::sink::LogSink | |
LogSink (std::string appId, std::string appDescription) | |
Constructor. More... | |
LogStream | GetAppstamp () const |
Get the application stamp (application ID and description) More... | |
LogStream | GetTimestamp () const |
Get the current timestamp at the function call. More... | |
Protected Attributes inherited from ara::log::sink::LogSink | |
const std::string | cWhitespace {" "} |
Whitespace constant character. | |
ara::log::sink::ConsoleLogSink::ConsoleLogSink | ( | std::string | appId, |
std::string | appDescription | ||
) |
Constructor.
appId | Application ID |
appDescription | Application description |
|
overridevirtual |
Log a stream corresponds to the current application.
logStream | Input log stream |
Implements ara::log::sink::LogSink.