|
|
@ -13,8 +13,7 @@
|
|
|
|
// auto logger = spdlog::qt_color_logger_mt("my_logger", my_edit_widget);
|
|
|
|
// auto logger = spdlog::qt_color_logger_mt("my_logger", my_edit_widget);
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Warning: those sinks won't be notified if the target widget is destroyed.
|
|
|
|
// Warning: those sinks won't be notified if the target widget is destroyed.
|
|
|
|
// If the widget's lifetime can be shorter than the logger's one, you should provide some permanent QObject,
|
|
|
|
// Make sure the sink get destryoed, or not used after the widget is gone.
|
|
|
|
// and then use a standard signal/slot.
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#include "spdlog/common.h"
|
|
|
|
#include "spdlog/common.h"
|
|
|
|