summaryrefslogtreecommitdiff
path: root/ace/Log_Msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Log_Msg.h')
-rw-r--r--ace/Log_Msg.h25
1 files changed, 7 insertions, 18 deletions
diff --git a/ace/Log_Msg.h b/ace/Log_Msg.h
index 0ab26552c37..0452d7b7db1 100644
--- a/ace/Log_Msg.h
+++ b/ace/Log_Msg.h
@@ -116,7 +116,7 @@ class ACE_Export ACE_Log_Msg_Callback
// Your log() routine is called with an instance of
// ACE_Log_Record. From this class, you can get the log
// message, the verbose log message, message type, message
- // priority, and so on.
+ // priority, and so on.
//
// Remember that there is one Log_Msg object per thread.
// Therefore, you may need to register your callback object with
@@ -184,7 +184,7 @@ public:
static void disable_debug_messages (ACE_Log_Priority priority = LM_DEBUG);
// Clears the flag from the default priority mask used to
// initialize ACE_Log_Msg instances.
-
+
static void enable_debug_messages (ACE_Log_Priority priority = LM_DEBUG);
// Sets the flag in the default priority mask used to initialize
// ACE_Log_Msg instances.
@@ -321,16 +321,10 @@ public:
void start_tracing (void);
int tracing_enabled (void);
- typedef enum
- {
- THREAD,
- PROCESS
- } MASK_TYPE;
-
// = Get/set the priority mask.
- u_long priority_mask (MASK_TYPE = THREAD);
+ u_long priority_mask (void);
// Get the current <ACE_Log_Priority> mask.
- u_long priority_mask (u_long, MASK_TYPE = THREAD);
+ u_long priority_mask (u_long);
// Set the <ACE_Log_Priority> mask, returns original mask.
int log_priority_enabled (ACE_Log_Priority log_priority);
@@ -457,19 +451,14 @@ private:
#endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */
u_long priority_mask_;
- // Keeps track of all the per-thread <ACE_Log_Priority> values that
- // are currently enabled. Default is for all logging priorities to
- // be enabled.
+ // Keeps track of all the <ACE_Log_Priority> values that are
+ // currently enabled. Default is for all logging priorities to be
+ // enabled.
// = The following fields are *not* kept in thread-specific storage.
// We only want one instance for the entire process!
- static u_long process_priority_mask_;
- // Keeps track of all the per-process <ACE_Log_Priority> values that
- // are currently enabled. Default is for all logging priorities to
- // be enabled.
-
static const ASYS_TCHAR *program_name_;
// Records the program name.