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
commite0bc6325275578a34d577297a1c1c9d33e703334 (patch)
tree11c859933c97bc60767ed0ef569759d753909c47 /ace/Trace.cpp
parent1fb852e7d387f5ef0f57f27608aea1d298d90636 (diff)
downloadATCD-e0bc6325275578a34d577297a1c1c9d33e703334.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