src/core/object.cc
changeset 1504 36ecc970ba96
parent 1420 3feedd3e4f5f
child 1534 6b7a4e88c422
child 1642 8d5707931bb4
--- a/src/core/object.cc	Thu Sep 13 12:37:30 2007 -0700
+++ b/src/core/object.cc	Thu Sep 13 17:47:42 2007 -0700
@@ -23,10 +23,10 @@
 #include "singleton.h"
 #include "uid-manager.h"
 #include "trace-resolver.h"
-#include "debug.h"
+#include "log.h"
 #include <vector>
 
-NS_DEBUG_COMPONENT_DEFINE ("Object");
+NS_LOG_COMPONENT_DEFINE ("Object");
 
 namespace {
 
@@ -322,7 +322,7 @@
   while (current != this)
     {
       NS_ASSERT (current != 0);
-      NS_DEBUG ("collect current=" << current);
+      NS_LOG_LOGIC ("collect current=" << current);
       InterfaceId cur = current->m_iid;
       while (cur != Object::iid)
         {
@@ -330,7 +330,7 @@
           std::string fullpath = path;
           fullpath.append ("/$");
           fullpath.append (name);
-          NS_DEBUG ("collect: " << fullpath);
+          NS_LOG_LOGIC("collect: " << fullpath);
           current->GetTraceResolver ()->CollectSources (fullpath, context, collection);
           cur = InterfaceId::LookupParent (cur);
         }