mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #335 disable context logging to console in swiftgui_std
This commit is contained in:
committed by
Roland Winklmeier
parent
73eee7af1e
commit
216b9f170d
@@ -64,6 +64,11 @@ namespace BlackMisc
|
||||
}
|
||||
}
|
||||
|
||||
CLogPatternHandler *CLogHandler::handlerForCategory(const CLogCategory &category)
|
||||
{
|
||||
return handlerForPattern(CLogPattern::exactMatch(category));
|
||||
}
|
||||
|
||||
QList<CLogPatternHandler *> CLogHandler::handlersForMessage(const CStatusMessage &message) const
|
||||
{
|
||||
QList<CLogPatternHandler *> m_handlers;
|
||||
|
||||
@@ -47,6 +47,10 @@ namespace BlackMisc
|
||||
//! \warning This must only be called from the main thread.
|
||||
CLogPatternHandler *handlerForPattern(const CLogPattern &pattern);
|
||||
|
||||
//! Return a pattern handler for subscribing to all messages which contain the given category.
|
||||
//! \warning This must only be called from the main thread.
|
||||
CLogPatternHandler *handlerForCategory(const CLogCategory &category);
|
||||
|
||||
//! Return a pattern handler for subscribing to all validation warnings and errors.
|
||||
//! \warning This must only be called from the main thread.
|
||||
CLogPatternHandler *handlerForValidation()
|
||||
|
||||
Reference in New Issue
Block a user