summaryrefslogtreecommitdiff
path: root/ace/Trace.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1997-08-06 18:37:04 +0000
committerSteve Huston <shuston@riverace.com>1997-08-06 18:37:04 +0000
commit168366666cb57e5b39ca7ce773da05f9fff843e3 (patch)
tree11c859933c97bc60767ed0ef569759d753909c47 /ace/Trace.cpp
parent2131ac67f9a1652a3669aff4d06c0134091e9d88 (diff)
downloadATCD-168366666cb57e5b39ca7ce773da05f9fff843e3.tar.gz
Add is_tracing method.
Diffstat (limited to 'ace/Trace.cpp')
-rw-r--r--ace/Trace.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/Trace.cpp b/ace/Trace.cpp
index 24a16660c6a..30a729b090d 100644
--- a/ace/Trace.cpp
+++ b/ace/Trace.cpp
@@ -44,6 +44,14 @@ ACE_Trace::dump (void) const
{
}
+// Determine whether or not tracing is enabled
+
+int
+ACE_Trace::is_tracing(void)
+{
+ return ACE_Trace::enable_tracing_;
+}
+
// Enable the tracing facility.
void