File: Log_Msg_h.3

package info (click to toggle)
ace 5.2.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 26,856 kB
  • ctags: 18,677
  • sloc: cpp: 171,831; makefile: 48,840; sh: 10,192; perl: 8,582; exp: 787; yacc: 387; lex: 140; csh: 20
file content (167 lines) | stat: -rw-r--r-- 3,442 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
.TH Log_Msg_h 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Log_Msg_h \- 
.SH SYNOPSIS
.br
.PP
\fC#include "ace/pre.h"\fR
.br
\fC#include "ace/config-all.h"\fR
.br
\fC#include "ace/Log_Record.h"\fR
.br
\fC#include "ace/OS_Log_Msg_Attributes.h"\fR
.br
\fC#include "ace/post.h"\fR
.br

.SS Compounds

.in +1c
.ti -1c
.RI "class \fBACE_Log_Msg\fR"
.br
.in -1c
.SS Defines

.in +1c
.ti -1c
.RI "#define \fBACE_ASSERT\fR(X) "
.br
.ti -1c
.RI "#define \fBACE_HEX_DUMP\fR(X) "
.br
.ti -1c
.RI "#define \fBACE_RETURN\fR(Y) "
.br
.ti -1c
.RI "#define \fBACE_ERROR_RETURN\fR(X, Y) "
.br
.ti -1c
.RI "#define \fBACE_ERROR\fR(X) "
.br
.ti -1c
.RI "#define \fBACE_DEBUG\fR(X) "
.br
.ti -1c
.RI "#define \fBACE_ERROR_INIT\fR(VALUE, FLAGS) "
.br
.ti -1c
.RI "#define \fBACE_ERROR_BREAK\fR(X)   { ACE_ERROR (X); break; }"
.br
.ti -1c
.RI "#define \fBACE_LOG_MSG\fR  ACE_Log_Msg::instance ()"
.br
.in -1c
.SH DETAILED DESCRIPTION
.PP 
.PP
\fBLog_Msg.h\fR,v 4.97 2001/11/09 23:00:22 schmidt Exp
.PP
\fBAuthor(s): \fR
.in +1c
 Douglas C. Schmidt <schmidt@cs.wustl.edu>
.PP
.SH DEFINE DOCUMENTATION
.PP 
.SS #define ACE_ASSERT(X)
.PP
\fBInitializer:\fR
.PP
.nf
\
  do { if(!(X)) { \
  int __ace_error = ACE_OS::last_error (); \
  ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
  ace___->set (__FILE__, __LINE__, -1, __ace_error, ace___->restart (), \
               ace___->msg_ostream (), ace___->msg_callback ()); \
  ace___->log (LM_ERROR, ACE_LIB_TEXT ("ACE_ASSERT: file %N, line %l assertion failed for '%s'.%a\n"), #X, -1); \
  } } while (0)
.fi
.SS #define ACE_DEBUG(X)
.PP
\fBInitializer:\fR
.PP
.nf
\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
    ace___->conditional_set (__FILE__, __LINE__, 0, __ace_error); \
    ace___->log X; \
  } while (0)
.fi
.SS #define ACE_ERROR(X)
.PP
\fBInitializer:\fR
.PP
.nf
\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
    ace___->conditional_set (__FILE__, __LINE__, -1, __ace_error); \
    ace___->log X; \
  } while (0)
.fi
.SS #define ACE_ERROR_BREAK(X)  { ACE_ERROR (X); break; }
.PP
.SS #define ACE_ERROR_INIT(VALUE, FLAGS)
.PP
\fBInitializer:\fR
.PP
.nf
\
  do { \
    ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
    ace___->set_flags (FLAGS); ace___->op_status (VALUE); \
  } while (0)
.fi
.SS #define ACE_ERROR_RETURN(X, Y)
.PP
\fBInitializer:\fR
.PP
.nf
\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
    ace___->conditional_set (__FILE__, __LINE__, Y, __ace_error); \
    ace___->log X; \
    return Y; \
  } while (0)
.fi
.SS #define ACE_HEX_DUMP(X)
.PP
\fBInitializer:\fR
.PP
.nf
\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
    ace___->conditional_set (__FILE__, __LINE__, 0, __ace_error); \
    ace___->log_hexdump X; \
  } while (0)
.fi
.SS #define ACE_LOG_MSG  ACE_Log_Msg::instance ()
.PP
.SS #define ACE_RETURN(Y)
.PP
\fBInitializer:\fR
.PP
.nf
\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
    ace___->set (__FILE__, __LINE__, Y, __ace_error, ace___->restart (), \
                 ace___->msg_ostream (), ace___->msg_callback ()); \
    return Y; \
  } while (0)
.fi
.SH AUTHOR
.PP 
Generated automatically by Doxygen for ACE from the source code.