summaryrefslogtreecommitdiff
path: root/ACE/ace/Log_Msg.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-11-12 14:17:36 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-11-12 14:17:36 +0000
commitfe482709c3c5cff8e28d4f699bca2c076476366a (patch)
tree7ee4898dbd53094de3c5a05879d109982e8c15db /ACE/ace/Log_Msg.h
parent12bb92237705a4b8e36e947051fe09c6da0f3e2f (diff)
downloadATCD-fe482709c3c5cff8e28d4f699bca2c076476366a.tar.gz
Mon Nov 12 14:16:21 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Log_Msg.h')
-rw-r--r--ACE/ace/Log_Msg.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ACE/ace/Log_Msg.h b/ACE/ace/Log_Msg.h
index 49a0bd19553..d99a7f71dd8 100644
--- a/ACE/ace/Log_Msg.h
+++ b/ACE/ace/Log_Msg.h
@@ -315,11 +315,11 @@ public:
void msg_ostream (ACE_OSTREAM_TYPE *);
/**
- * delete_stream == 1, forces Log_Msg.h to delete the stream in
+ * delete_stream == true, forces Log_Msg.h to delete the stream in
* its own ~dtor (assumes control of the stream)
* use only with proper ostream (eg: fstream), not (cout, cerr)
*/
- void msg_ostream (ACE_OSTREAM_TYPE *, int delete_ostream);
+ void msg_ostream (ACE_OSTREAM_TYPE *, bool delete_ostream);
/// Get the ostream that is used to print error messages.
ACE_OSTREAM_TYPE *msg_ostream (void) const;
@@ -359,10 +359,10 @@ public:
void trace_depth (int);
/// Set trace active status.
- int trace_active (void) const;
+ bool trace_active (void) const;
/// Get trace active status.
- void trace_active (int value);
+ void trace_active (bool value);
/// Get the TSS thread descriptor.
ACE_Thread_Descriptor *thr_desc (void) const;
@@ -402,7 +402,7 @@ public:
void start_tracing (void);
/// Query tracing status on a per-thread basis...
- int tracing_enabled (void) const;
+ bool tracing_enabled (void) const;
typedef enum
{
@@ -599,13 +599,13 @@ private:
int trace_depth_;
/// Are we already within an ACE_Trace constructor call?
- int trace_active_;
+ bool trace_active_;
/// Are we allowing tracing in this thread?
- int tracing_enabled_;
+ bool tracing_enabled_;
/// Are we deleting this ostream?
- int delete_ostream_;
+ bool delete_ostream_;
/**
* If we're running in the context of an ACE_Thread_Manager this