summaryrefslogtreecommitdiffstats
path: root/logger/QsLog.h
diff options
context:
space:
mode:
Diffstat (limited to 'logger/QsLog.h')
-rw-r--r--logger/QsLog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/logger/QsLog.h b/logger/QsLog.h
index a18c08de..6c96423c 100644
--- a/logger/QsLog.h
+++ b/logger/QsLog.h
@@ -54,6 +54,8 @@ public:
//! Adds a log message destination. Don't add null destinations.
void addDestination(Destination *destination);
+ //! Removes the given destination from the logger.
+ void removeDestination(Destination* destination);
//! Logging at a level < 'newLevel' will be ignored
void setLoggingLevel(Level newLevel);
//! The default level is INFO
@@ -127,4 +129,4 @@ private:
QsLogging::Logger::Helper(QsLogging::ErrorLevel).stream() << __FILE__ << '@' << __LINE__
#define QLOG_FATAL() \
QsLogging::Logger::Helper(QsLogging::FatalLevel).stream() << __FILE__ << '@' << __LINE__
-*/ \ No newline at end of file
+*/