17 #ifndef COM_BORA_SOFTWARE__BALAU_TESTING__LOG_WRITER 18 #define COM_BORA_SOFTWARE__BALAU_TESTING__LOG_WRITER 35 public:
explicit LogWriter(
const std::string & loggingNamespace =
"testrunner");
37 public:
void writeString(
const std::string & str)
override;
39 public: std::unique_ptr<TestWriter>
clone()
const override {
40 return std::unique_ptr<TestWriter>(
new LogWriter(logger));
45 private:
const Logger & logger;
52 #endif // COM_BORA_SOFTWARE__BALAU_TESTING__LOG_WRITER Base class of test writers.
Definition: TestWriter.hpp:31
The root Balau namespace.
Definition: ApplicationConfiguration.hpp:23
void writeString(const std::string &str) override
Write the supplied UTF-8 string to the writer's output stream(s).
A test writer that writes to the specified Balau logger.
Definition: LogWriter.hpp:31
The main logger class.
Definition: Logger.hpp:92
Test writer that writes to the specified Balau logger.
std::unique_ptr< TestWriter > clone() const override
Clone the writer instance.
Definition: LogWriter.hpp:39