summaryrefslogtreecommitdiff
path: root/ACE/ace/Log_Msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Log_Msg.h')
-rw-r--r--ACE/ace/Log_Msg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ACE/ace/Log_Msg.h b/ACE/ace/Log_Msg.h
index f847c4ede0e..0f837babcd2 100644
--- a/ACE/ace/Log_Msg.h
+++ b/ACE/ace/Log_Msg.h
@@ -143,6 +143,7 @@ class ACE_Log_Msg_Backend;
// Forward declaration
class ACE_Thread_Descriptor;
class ACE_Log_Record;
+class ACE_Log_Category_TSS;
template<typename M, typename T> class ACE_Atomic_Op;
/**
@@ -539,7 +540,8 @@ public:
*/
ssize_t log (const ACE_TCHAR *format,
ACE_Log_Priority priority,
- va_list argp);
+ va_list argp,
+ ACE_Log_Category_TSS* category=0);
/// Log a custom built log record to the currently enabled logging
/// sinks.
@@ -554,7 +556,8 @@ public:
int log_hexdump (ACE_Log_Priority log_priority,
const char *buffer,
size_t size,
- const ACE_TCHAR *text = 0);
+ const ACE_TCHAR *text = 0,
+ ACE_Log_Category_TSS* category=0);
/**
* Init hook, create a Log_Msg_Attribute object, initialize its
@@ -743,6 +746,7 @@ ACE_TSS_CLEANUP_NAME (void *ptr);
# endif /* ACE_HAS_THREAD_SPECIFIC_STORAGE || ACE_HAS_TSS_EMULATION */
#endif /* ACE_MT_SAFE */
+
#if defined (__ACE_INLINE__)
#include "ace/Log_Msg.inl"
#endif /* __ACE_INLINE__ */