diff options
author | Jörg Barfurth <jb@openoffice.org> | 2001-02-27 13:27:25 +0000 |
---|---|---|
committer | Jörg Barfurth <jb@openoffice.org> | 2001-02-27 13:27:25 +0000 |
commit | 1f00aaa62e1e0dbf202a7a494d730730326c5f7f (patch) | |
tree | 40ce88697dfde48b033599df67559cd28edfd690 /configmgr | |
parent | 29fa30eec0f7ff9c59f0d8867daa9fb37d5fa29a (diff) |
Correction: Do not print the message type twice
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/misc/tracer.cxx | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/configmgr/source/misc/tracer.cxx b/configmgr/source/misc/tracer.cxx index 5d1d95a3aa0b..a103c36c1dc6 100644 --- a/configmgr/source/misc/tracer.cxx +++ b/configmgr/source/misc/tracer.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tracer.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jb $ $Date: 2001-02-26 15:53:00 $ + * last change: $Author: jb $ $Date: 2001-02-27 14:27:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -504,16 +504,10 @@ void OConfigTracer::implTrace(const sal_Char* _pType, const sal_Char* _pFormat, static sal_Char szMessage[1024] = ""; fprintf(s_pImpl->m_pOutputMedium, "(%06lu)", getGlobalTimer()); } - - fprintf(s_pImpl->m_pOutputMedium, ": "); - - indent(); - } - if (_pType && strlen(_pType)) - { - fprintf(s_pImpl->m_pOutputMedium, "%s", _pType); - indent(); } + fprintf(s_pImpl->m_pOutputMedium, ": "); + + indent(); vfprintf(s_pImpl->m_pOutputMedium, _pFormat, args); fprintf(s_pImpl->m_pOutputMedium,"\n"); @@ -527,6 +521,9 @@ void OConfigTracer::implTrace(const sal_Char* _pType, const sal_Char* _pFormat, //************************************************************************** // history: // $Log: not supported by cvs2svn $ +// Revision 1.5 2001/02/26 15:53:00 jb +// Add thread-sensitive tracing +// // Revision 1.4 2001/02/13 09:48:02 dg // #83239# timing output // |