blob: a5e7970c9953d2760ddff305eed2741192a3bf6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//$Id$
#include "Log.h"
#if !defined(__ACE_INLINE__)
#include "Log.inl"
#endif /* __ACE_INLINE__ */
namespace TAO_FTRTEC {
unsigned int Log::log_level_;
#ifndef NDEBUG
Log::Log (unsigned int log_level, const ACE_TCHAR* format, ...)
{
if (log_level_ >= log_level) {
va_list p;
va_start(p, format);
char str[1024];
ACE_OS::vsprintf(str, format, p);
ACE_DEBUG((LM_DEBUG, str));
va_end(p);
}
}
#endif
}
|