summaryrefslogtreecommitdiff
path: root/ACE/ace/Dynamic_Service_Base.cpp
diff options
context:
space:
mode:
authoriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-10-16 20:57:13 +0000
committeriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-10-16 20:57:13 +0000
commit993d35b335c22c9fd08fd885c408c8f21458768c (patch)
tree7374c5ea214fcdb0d4dd2414e7376874d8832b04 /ACE/ace/Dynamic_Service_Base.cpp
parent4662ca34b81bc156f86c39d26cac6943f70501ad (diff)
downloadATCD-993d35b335c22c9fd08fd885c408c8f21458768c.tar.gz
ChangeLogTag: Mon Oct 16 20:04:59 UTC 2006 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'ACE/ace/Dynamic_Service_Base.cpp')
-rw-r--r--ACE/ace/Dynamic_Service_Base.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/ACE/ace/Dynamic_Service_Base.cpp b/ACE/ace/Dynamic_Service_Base.cpp
index 35b963ca64d..7c2bd20fcec 100644
--- a/ACE/ace/Dynamic_Service_Base.cpp
+++ b/ACE/ace/Dynamic_Service_Base.cpp
@@ -86,22 +86,23 @@ ACE_Dynamic_Service_Base::instance (const ACE_Service_Gestalt* repo,
{
type = svc_rec->type ();
if (type != 0)
- obj = type->object ();
+ obj = type->object ();
}
if (ACE::debug ())
{
+ ACE_Guard <ACE_Log_Msg> log_guard (*ACE_Log_Msg::instance ());
+
ACE_DEBUG ((LM_DEBUG,
- ACE_LIB_TEXT ("(%P|%t) DSB::instance, repo=%@, name=%s, ")
- ACE_LIB_TEXT ("type=%@ => %@"),
- repo->repo_, name, type, obj));
+ ACE_LIB_TEXT ("ACE (%P|%t) DSB::instance, repo=%@, name=%s")
+ ACE_LIB_TEXT (" type=%@ => %@"),
+ repo->repo_, name, type, obj));
if (repo->repo_ != repo_found->repo_)
- ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT (" [in repo=%@]\n"),
- repo_found->repo_));
+ ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT (" [in repo=%@]\n"),
+ repo_found->repo_));
else
- ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\n")));
-
+ ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\n")));
}
return obj;