summaryrefslogtreecommitdiff
path: root/ace/Log_Record.h
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-10 08:07:06 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-10 08:07:06 +0000
commite9b36d4151f8adf6736a21b5b68869e6cd989bb6 (patch)
treed8f427ee2a0f9a99c56f86ae856efc2bbe89c3ae /ace/Log_Record.h
parente5fd20c4dd59816aaa3d676d23f99263eee7c82e (diff)
downloadATCD-e9b36d4151f8adf6736a21b5b68869e6cd989bb6.tar.gz
Added CE specialization
Diffstat (limited to 'ace/Log_Record.h')
-rw-r--r--ace/Log_Record.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/ace/Log_Record.h b/ace/Log_Record.h
index 0e8a99a9288..873da7bd5df 100644
--- a/ace/Log_Record.h
+++ b/ace/Log_Record.h
@@ -55,18 +55,29 @@ public:
// Create a <Log_Record> and set its priority, time stamp, and
// process id.
+#if !defined (ACE_HAS_WINCE) // @@ Sould this be ACE_LACKS_IOSTREAM_TOTALLY?
int print (const ASYS_TCHAR host_name[],
int verbose = 1,
FILE *fp = stderr);
// Write the contents of the logging record to the appropriate
// <FILE>.
-#if !defined (ACE_HAS_WINCE) // @@ Sould this be ACE_LACKS_IOSTREAM_TOTALLY?
int print (const ASYS_TCHAR host_name[],
int verbose,
ostream &stream);
// Write the contents of the logging record to the appropriate
// <ostream>.
+#else
+ int print (const ASYS_TCHAR host_name[],
+ int verbose,
+ FILE *fp);
+ // Write the contents of the logging record to the appropriate
+ // <FILE>.
+
+ int print (const ASYS_TCHAR host_name[],
+ int verbose = 1,
+ ACE_CE_Bridge *log_ = 0);
+ // For Windows CE, the default is to log messages to a preset window.
#endif /* ! ACE_HAS_WINCE */
// = Marshall/demarshall