mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-15 08:01:30 +08:00
Update qt_sinks.h
This commit is contained in:
parent
3a7188505f
commit
c17b5d9cd1
@ -12,9 +12,8 @@
|
||||
// setCentralWidget(edit);
|
||||
// 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.
|
||||
// If the widget's lifetime can be shorter than the logger's one, you should provide some permanent QObject,
|
||||
// and then use a standard signal/slot.
|
||||
// Warning: those sinks won't be notified if the target widget is destroyed.
|
||||
// Make sure the sink get destryoed, or not used after the widget is gone.
|
||||
//
|
||||
|
||||
#include "spdlog/common.h"
|
||||
|
Loading…
Reference in New Issue
Block a user