summaryrefslogtreecommitdiff
path: root/ace/Log_Record.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-18 03:51:37 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-18 03:51:37 +0000
commitc9e489726477061ac662fcc4b3fcdecb9651585e (patch)
tree489def2dac3b00b5d510d0c248b53367ce3b0364 /ace/Log_Record.h
parent2db44da46ac783c88032f90d2c0b4cf934ac74fb (diff)
downloadATCD-c9e489726477061ac662fcc4b3fcdecb9651585e.tar.gz
whoopie!!
whoopie, more new stuff, more things will break!!
Diffstat (limited to 'ace/Log_Record.h')
-rw-r--r--ace/Log_Record.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/ace/Log_Record.h b/ace/Log_Record.h
index 2a93650f330..48aa06513bf 100644
--- a/ace/Log_Record.h
+++ b/ace/Log_Record.h
@@ -54,6 +54,11 @@ friend ostream &operator << (ostream &, ACE_Log_Record &);
long pid);
// Create a <Log_Record> and set its priority, time stamp, and
// process id.
+ ACE_Log_Record (ACE_Log_Priority lp,
+ const ACE_Time_Value &time_stamp,
+ long pid);
+ // Create a <Log_Record> and set its priority, time stamp, and
+ // process id.
int print (const char host_name[],
int verbose = 1,
@@ -88,10 +93,10 @@ friend ostream &operator << (ostream &, ACE_Log_Record &);
void length (long);
// Set the length of the <Log_Record>.
- long time_stamp (void) const;
+ const ACE_Time_Value &time_stamp (void) const;
// Get the time stamp of the <Log_Record>.
- void time_stamp (long);
+ void time_stamp (const ACE_Time_Value &);
// Set the time stamp of the <Log_Record>.
long pid (void) const;
@@ -120,16 +125,16 @@ private:
// Round up to the alignment restrictions.
long type_;
- // Type of logging record
+ // Type of logging record.
long length_;
- // length of the logging record
+ // Total length of the logging record in bytes.
- long time_stamp_;
- // Time logging record generated
+ ACE_Time_Value time_stamp_;
+ // Time that the logging record was generated.
long pid_;
- // Id of process that generated the record
+ // Id of process that generated the logging record.
char msg_data_[MAXLOGMSGLEN];
// Logging record data