Skip to content
Browse files

added: missing change from r29798

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29826 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information...
1 parent 08a80b3 commit 5b793b6208d71320f34f1f5fd22bffb84d298efa alcoheca committed May 6, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 xbmc/addons/AddonManager.cpp
View
6 xbmc/addons/AddonManager.cpp
@@ -176,7 +176,7 @@ bool CAddonMgr::Init()
return false;
}
- status = m_cpluff->register_logger(m_cp_context, cp_logger, &CAddonMgr::m_pInstance, CP_LOG_INFO);
+ status = m_cpluff->register_logger(m_cp_context, cp_logger, &CAddonMgr::m_pInstance, log);
if (status != CP_OK)
{
CLog::Log(LOGERROR, "ADDONS: Fatal Error, cp_register_logger() returned status: %i", status);
@@ -909,9 +909,9 @@ cp_log_severity_t clog_to_cp(int lvl)
void CAddonMgr::CPluffLog(cp_log_severity_t level, const char *msg, const char *apid, void *user_data)
{
if(!apid)
- CLog::Log(LOGDEBUG, "ADDON: '%s'", msg);
+ CLog::Log(cp_to_clog(level), "ADDON: cpluff: '%s'", msg);
else
- CLog::Log(LOGDEBUG, "ADDON: '%s' reports '%s'", apid, msg);
+ CLog::Log(cp_to_clog(level), "ADDON: cpluff: '%s' reports '%s'", apid, msg);
}
} /* namespace ADDON */

0 comments on commit 5b793b6

Please sign in to comment.
Something went wrong with that request. Please try again.