Cleaned up old log code.

This commit is contained in:
rakshasa
2012-03-12 20:55:29 +09:00
parent 7e0d5956b5
commit 3d1b0b5971
8 changed files with 13 additions and 184 deletions
-3
View File
@@ -140,9 +140,6 @@ Manager::push_log(const char* msg) {
if (!pthread_equal(pthread_self(), torrent::main_thread()->pthread()))
throw torrent::internal_error("Manager::push_log(...): Cannot call this function from other threads than 'main'.");
m_logImportant.push_front(msg);
push_log_complete(msg);
m_log_important->lock_and_push_log(msg, strlen(msg), 0);
m_log_complete->lock_and_push_log(msg, strlen(msg), 0);
}