Public Member Functions | |
| FileLogSink (std::string appId, std::string appDescription, std::string logFilePath) | |
| 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::FileLogSink::FileLogSink | ( | std::string | appId, |
| std::string | appDescription, | ||
| std::string | logFilePath | ||
| ) |
Constructor.
| appId | Application ID |
| appDescription | Application description |
| logFilePath | Logging file sink path |
|
overridevirtual |
Log a stream corresponds to the current application.
| logStream | Input log stream |
Implements ara::log::sink::LogSink.