summaryrefslogtreecommitdiff
path: root/ace/Log_Msg.cpp
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-11 14:49:12 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-11 14:49:12 +0000
commit433b4283e61d0523f8048b79dffe4645e6b7470e (patch)
treed106d25058e242b56b6f5964da1beac9273ef3b8 /ace/Log_Msg.cpp
parentb57066820aa756b779b5fcc26176a98ab8289f24 (diff)
downloadATCD-433b4283e61d0523f8048b79dffe4645e6b7470e.tar.gz
ChangeLogTag:Thu Apr 11 14:42:32 UTC 2002 Don Hinton <dhinton@ieee.org>
Diffstat (limited to 'ace/Log_Msg.cpp')
-rw-r--r--ace/Log_Msg.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp
index 1cfef7837c6..19439f937ce 100644
--- a/ace/Log_Msg.cpp
+++ b/ace/Log_Msg.cpp
@@ -26,6 +26,7 @@
#include "ace/Log_Msg_IPC.h"
#include "ace/Log_Msg_NT_Event_Log.h"
#include "ace/Log_Msg_UNIX_Syslog.h"
+#include "ace/Log_Record.h"
ACE_RCSID(ace, Log_Msg, "$Id$")
@@ -364,6 +365,14 @@ ACE_Log_Msg::instance (void)
#endif /* ! ACE_MT_SAFE */
}
+// Not inlined to help prevent having to include OS.h just to
+// get ACE_DEBUG, et al, macros.
+int
+ACE_Log_Msg::last_error_adapter (void)
+{
+ return ACE_OS::last_error ();
+}
+
// Sets the flag in the default priority mask used to initialize
// ACE_Log_Msg instances, as well as the current per-thread instance.