StudioLogger
Handle logger callbacks via Qt for thread correctness.
#include <StudioLogger.h>
Inherits from QObject
Public Signals
Name | |
---|---|
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) |
Public Functions
Name | |
---|---|
StudioLogger() | |
virtual | ~StudioLogger() |
void | register_callbacks() |
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) |
Public Signals Documentation
signal message
void message(
std::string str
)
signal error
void error(
std::string str
)
signal warning
void warning(
std::string str
)
signal debug
void debug(
std::string str
)
signal status
void status(
std::string str
)
signal progress
void progress(
int value,
std::string str
)
Public Functions Documentation
function StudioLogger
inline StudioLogger()
function ~StudioLogger
virtual ~StudioLogger()
function register_callbacks
void register_callbacks()
function handle_message
void handle_message(
std::string str
)
function handle_error
void handle_error(
std::string str
)
function handle_warning
void handle_warning(
std::string str
)
function handle_debug
void handle_debug(
std::string str
)
function handle_status
void handle_status(
std::string str
)
function handle_progress
void handle_progress(
double value,
std::string str
)
Updated on 2024-11-11 at 19:51:46 +0000