qBittorrent
logger.cpp File Reference
#include "logger.h"
#include <algorithm>
#include <QDateTime>
#include <QVector>
Include dependency graph for logger.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{logger.cpp}
 

Functions

template<typename T >
QVector< T > anonymous_namespace{logger.cpp}::loadFromBuffer (const boost::circular_buffer_space_optimized< T > &src, const int offset=0)
 
void LogMsg (const QString &message, const Log::MsgType &type)
 

Function Documentation

◆ LogMsg()

void LogMsg ( const QString &  message,
const Log::MsgType type 
)

Definition at line 125 of file logger.cpp.

126 {
127  Logger::instance()->addMessage(message, type);
128 }
void addMessage(const QString &message, const Log::MsgType &type=Log::NORMAL)
Definition: logger.cpp:73
static Logger * instance()
Definition: logger.cpp:56

References Logger::addMessage(), and Logger::instance().

Referenced by BitTorrent::Session::addMoveTorrentStorageJob(), BitTorrent::Session::addTorrent(), TorrentFilesWatcher::Worker::addWatchedFolder(), RSS::AutoDownloader::AutoDownloader(), PeerListWidget::banSelectedPeers(), SearchController::checkForUpdatesFailed(), SearchController::checkForUpdatesFinished(), WebApplication::configure(), BitTorrent::Session::configureNetworkInterfaces(), BitTorrent::TorrentImpl::connectPeer(), BitTorrent::Session::createTorrent(), MainWindow::createTrayIcon(), Net::GeoIPManager::downloadFinished(), BitTorrent::Session::exportTorrentFile(), anonymous_namespace{upgrade.cpp}::exportWebUIHttpsFiles(), BitTorrent::Session::getListeningIPs(), SearchPluginManager::getPluginVersion(), BitTorrent::Session::handleAddTorrentAlert(), BitTorrent::Session::handleAlertsDroppedAlert(), BitTorrent::Session::handleDownloadFinished(), RSS::Feed::handleDownloadFinished(), BitTorrent::Session::handleExternalIPAlert(), BitTorrent::TorrentImpl::handleFastResumeRejectedAlert(), BitTorrent::Session::handleFileErrorAlert(), BitTorrent::TorrentImpl::handleFileRenameFailedAlert(), BitTorrent::Session::handleIPFilterError(), BitTorrent::Session::handleIPFilterParsed(), BitTorrent::Session::handleListenFailedAlert(), BitTorrent::Session::handleListenSucceededAlert(), RSS::Feed::handleParsingFinished(), BitTorrent::TorrentImpl::handlePerformanceAlert(), BitTorrent::Session::handlePortmapAlert(), BitTorrent::Session::handlePortmapWarningAlert(), BitTorrent::Session::handleSocks5Alert(), BitTorrent::Session::handleStorageMovedAlert(), BitTorrent::Session::handleStorageMovedFailedAlert(), BitTorrent::Session::handleTorrentDeletedAlert(), BitTorrent::Session::handleTorrentDeleteFailedAlert(), BitTorrent::Session::handleTorrentFinished(), BitTorrent::Session::handleTorrentRemovedAlert(), BitTorrent::Session::handleTorrentTrackersAdded(), BitTorrent::Session::handleTorrentTrackersRemoved(), BitTorrent::Session::handleTorrentUrlSeedsAdded(), BitTorrent::Session::handleTorrentUrlSeedsRemoved(), BitTorrent::Session::handleUrlSeedAlert(), Net::DownloadManager::ignoreSslErrors(), BitTorrent::Session::initializeNativeSession(), SearchPluginManager::installPlugin_impl(), WebApplication::isCrossSiteRequest(), RSS::AutoDownloader::load(), RSS::Feed::load(), TorrentFilesWatcher::load(), BitTorrent::BencodeResumeDataStorage::load(), BitTorrent::DBResumeDataStorage::load(), RSS::Feed::loadArticles(), BitTorrent::Session::loadCategories(), UIThemeManager::loadColorsFromJSONConfig(), RSS::Session::loadFolder(), TorrentFilesWatcher::loadLegacy(), BitTorrent::BencodeResumeDataStorage::loadQueue(), RSS::AutoDownloader::loadRules(), AuthController::loginAction(), BitTorrent::Session::moveTorrentStorage(), FileLogger::openLogFile(), FilterParserThread::parseDATFilterFile(), FilterParserThread::parseP2BFilterFile(), FilterParserThread::parseP2PFilterFile(), SearchPluginManager::parseVersionInfo(), TorrentFilesWatcher::Worker::processFailedTorrents(), TorrentFilesWatcher::Worker::processFolder(), BitTorrent::Session::processShareLimits(), Utils::ForeignApps::pythonInfo(), anonymous_namespace{uithememanager.cpp}::readFile(), BitTorrent::Session::recursiveTorrentDownload(), BitTorrent::DBResumeDataStorage::Worker::remove(), Application::runExternalProgram(), BitTorrent::Session::saveResumeData(), BitTorrent::Session::setAnonymousModeEnabled(), BitTorrent::Session::setBannedIPs(), BitTorrent::Session::setDHTEnabled(), BitTorrent::Session::setEncryption(), BitTorrent::TorrentImpl::setFirstLastPiecePriority(), TorrentsController::setLocationAction(), BitTorrent::Session::setLSDEnabled(), BitTorrent::Session::setPeXEnabled(), PortForwarderImpl::start(), BitTorrent::Tracker::start(), BitTorrent::Session::startUpTorrents(), PortForwarderImpl::stop(), TorrentFilesWatcher::store(), BitTorrent::BencodeResumeDataStorage::Worker::store(), BitTorrent::DBResumeDataStorage::Worker::store(), BitTorrent::Session::storeCategories(), BitTorrent::BencodeResumeDataStorage::Worker::storeQueue(), BitTorrent::DBResumeDataStorage::Worker::storeQueue(), anonymous_namespace{foreignapps.cpp}::testPythonInstallation(), UIThemeManager::UIThemeManager(), anonymous_namespace{upgrade.cpp}::upgradeDNSServiceSettings(), anonymous_namespace{upgrade.cpp}::upgradeSchedulerDaysSettings(), anonymous_namespace{upgrade.cpp}::upgradeTrayIconStyleSettings(), and WebApplication::validateHostHeader().

Here is the call graph for this function: