Studio/Interface/StudioLogger.h
Classes
| Name | |
|---|---|
| class | StudioLogger Handle logger callbacks via Qt for thread correctness. |
Source code
```cpp
pragma once
include
class StudioLogger : public QObject { Q_OBJECT
public: StudioLogger() {} virtual ~StudioLogger();
void register_callbacks();
// callbacks from logger void handle_message(std::string str); void handle_error(std::string str); void handle_warning(std::string str); void handle_debug(std::string str); void handle_status(std::string str); void handle_progress(double value, std::string str);
Q_SIGNALS: void message(std::string str); void error(std::string str); void warning(std::string str); void debug(std::string str); void status(std::string str); void progress(int value, std::string str); }; ```
Updated on 2026-03-31 at 16:02:11 +0000