diff options
Diffstat (limited to 'include/ingen/Log.hpp')
-rw-r--r-- | include/ingen/Log.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/ingen/Log.hpp b/include/ingen/Log.hpp index 8d1b420c..acbb4b6d 100644 --- a/include/ingen/Log.hpp +++ b/include/ingen/Log.hpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2016 David Robillard <http://drobilla.net/> + Copyright 2007-2024 David Robillard <http://drobilla.net/> Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -25,7 +25,6 @@ #include "lv2/urid/urid.h" #include <cstdarg> -#include <cstdio> #include <functional> #include <memory> #include <string> @@ -89,14 +88,13 @@ public: } int vtprintf(LV2_URID type, const char* fmt, va_list args); + int tprintf(LV2_URID type, const char* fmt, ...); void set_flush(bool f) { _flush = f; } void set_trace(bool f) { _trace = f; } void set_sink(Sink s) { _sink = std::move(s); } private: - void print(FILE* stream, const std::string& msg) const; - LV2_Log_Log* _log; URIs& _uris; Sink _sink; |