Mercurial > hg > piper-cpp
comparison vamp-client/SynchronousTransport.h @ 282:ce42f0bebae3
Send any stderr output to the logger (if defined)
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 11 Jan 2019 15:55:45 +0000 |
parents | 590b1a1fd955 |
children |
comparison
equal
deleted
inserted
replaced
281:c0b29d2af155 | 282:ce42f0bebae3 |
---|---|
54 | 54 |
55 class LogCallback | 55 class LogCallback |
56 { | 56 { |
57 public: | 57 public: |
58 virtual ~LogCallback() { } | 58 virtual ~LogCallback() { } |
59 | |
60 /** | |
61 * Log a message. The logger should terminate the message | |
62 * appropriately after logging; the caller is not expected to end | |
63 * it with \n or similar. | |
64 */ | |
59 virtual void log(std::string) const = 0; | 65 virtual void log(std::string) const = 0; |
60 }; | 66 }; |
61 | 67 |
62 class SynchronousTransport // interface | 68 class SynchronousTransport // interface |
63 { | 69 { |