Mercurial > hg > piper-cpp
diff 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 |
line wrap: on
line diff
--- a/vamp-client/SynchronousTransport.h Fri Jan 11 15:55:04 2019 +0000 +++ b/vamp-client/SynchronousTransport.h Fri Jan 11 15:55:45 2019 +0000 @@ -56,6 +56,12 @@ { public: virtual ~LogCallback() { } + + /** + * Log a message. The logger should terminate the message + * appropriately after logging; the caller is not expected to end + * it with \n or similar. + */ virtual void log(std::string) const = 0; };