5#include "../log_stream.h"
17 std::string mApplicationId;
18 std::string mApplicationDescription;
27 LogSink(std::string appId, std::string appDescription);
38 virtual ~LogSink() noexcept = default;
A stream pipeline to combine log entities.
Definition: log_stream.h:17
Application logging sink.
Definition: log_sink.h:15
LogSink(std::string appId, std::string appDescription)
Constructor.
Definition: log_sink.cpp:9
const std::string cWhitespace
Whitespace constant character.
Definition: log_sink.h:22
LogStream GetTimestamp() const
Get the current timestamp at the function call.
Definition: log_sink.cpp:27
LogStream GetAppstamp() const
Get the application stamp (application ID and description)
Definition: log_sink.cpp:14
virtual void Log(const LogStream &logStream) const =0
Log a stream corresponds to the current application.