1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
|
---|
2 | <html>
|
---|
3 | <head>
|
---|
4 | <meta name="GENERATOR" content="PasDoc 0.9.0">
|
---|
5 | <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
---|
6 | <title>slogsend</title>
|
---|
7 | <link rel="StyleSheet" type="text/css" href="pasdoc.css">
|
---|
8 | </head>
|
---|
9 | <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
|
---|
10 | <h1 class="unit">Unit slogsend</h1>
|
---|
11 | <table class="sections">
|
---|
12 | <tr>
|
---|
13 | <td><a class="section" href="#@Description">Description</a></td><td><a class="section" href="#@Uses">uses</a></td><td><a class="section" href="#@Classes">Classes, Interfaces, Objects and Records</a></td><td><a class="section" href="#@FuncsProcs">Functions and Procedures</a></td><td><a class="section" href="#@Types">Types</a></td><td><a class="section" href="#@Constants">Constants</a></td><td>Variables</td></tr></table>
|
---|
14 | <a name="@Description"></a><h2 class="description">Description</h2>
|
---|
15 | <p>
|
---|
16 | BSD SYSLOG protocol</p>
|
---|
17 | <p>
|
---|
18 |
|
---|
19 |
|
---|
20 | <p>Used RFC: RFC-3164</p>
|
---|
21 | <a name="@Uses"></a><h2 class="uses">uses</h2>
|
---|
22 | <ul class="useslist"><li>SysUtils</li><li>Classes</li><li><a href="blcksock.html">blcksock</a></li><li><a href="synautil.html">synautil</a></li></ul><h2 class="overview">Overview</h2>
|
---|
23 | <a name="@Classes"></a><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
|
---|
24 | <table class="classestable">
|
---|
25 | <tr class="listheader">
|
---|
26 | <th class="itemname">Name</th>
|
---|
27 | <th class="itemdesc">Description</th>
|
---|
28 | </tr>
|
---|
29 | <tr class="list">
|
---|
30 | <td class="itemname">Class <a class="bold" href="slogsend.TSyslogMessage.html"><code>TSyslogMessage</code></a></td>
|
---|
31 | <td class="itemdesc">encoding or decoding of SYSLOG message</td>
|
---|
32 | </tr>
|
---|
33 | <tr class="list2">
|
---|
34 | <td class="itemname">Class <a class="bold" href="slogsend.TSyslogSend.html"><code>TSyslogSend</code></a></td>
|
---|
35 | <td class="itemdesc">This object implement BSD SysLog client</td>
|
---|
36 | </tr>
|
---|
37 | </table>
|
---|
38 | <a name="@FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
|
---|
39 | <table class="summary">
|
---|
40 | <tr class="list">
|
---|
41 | <td class="itemcode"><code>function <b><a href="slogsend.html#ToSysLog">ToSysLog</a></b>(const SyslogServer: string; Facil: Byte; Sever: <a href="slogsend.html#TSyslogSeverity">TSyslogSeverity</a>; const Content: string): Boolean;</code></td>
|
---|
42 | </tr>
|
---|
43 | </table>
|
---|
44 | <a name="@Types"></a><h3 class="summary">Types</h3>
|
---|
45 | <table class="summary">
|
---|
46 | <tr class="list">
|
---|
47 | <td class="itemcode"><code><b><a href="slogsend.html#TSyslogSeverity">TSyslogSeverity</a></b> = (...);</code></td>
|
---|
48 | </tr>
|
---|
49 | </table>
|
---|
50 | <a name="@Constants"></a><h3 class="summary">Constants</h3>
|
---|
51 | <table class="summary">
|
---|
52 | <tr class="list">
|
---|
53 | <td class="itemcode"><code><b><a href="slogsend.html#cSysLogProtocol">cSysLogProtocol</a></b> = '514';</code></td>
|
---|
54 | </tr>
|
---|
55 | <tr class="list2">
|
---|
56 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Kernel">FCL_Kernel</a></b> = 0;</code></td>
|
---|
57 | </tr>
|
---|
58 | <tr class="list">
|
---|
59 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_UserLevel">FCL_UserLevel</a></b> = 1;</code></td>
|
---|
60 | </tr>
|
---|
61 | <tr class="list2">
|
---|
62 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_MailSystem">FCL_MailSystem</a></b> = 2;</code></td>
|
---|
63 | </tr>
|
---|
64 | <tr class="list">
|
---|
65 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_System">FCL_System</a></b> = 3;</code></td>
|
---|
66 | </tr>
|
---|
67 | <tr class="list2">
|
---|
68 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Security">FCL_Security</a></b> = 4;</code></td>
|
---|
69 | </tr>
|
---|
70 | <tr class="list">
|
---|
71 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Syslogd">FCL_Syslogd</a></b> = 5;</code></td>
|
---|
72 | </tr>
|
---|
73 | <tr class="list2">
|
---|
74 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Printer">FCL_Printer</a></b> = 6;</code></td>
|
---|
75 | </tr>
|
---|
76 | <tr class="list">
|
---|
77 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_News">FCL_News</a></b> = 7;</code></td>
|
---|
78 | </tr>
|
---|
79 | <tr class="list2">
|
---|
80 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_UUCP">FCL_UUCP</a></b> = 8;</code></td>
|
---|
81 | </tr>
|
---|
82 | <tr class="list">
|
---|
83 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Clock">FCL_Clock</a></b> = 9;</code></td>
|
---|
84 | </tr>
|
---|
85 | <tr class="list2">
|
---|
86 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Authorization">FCL_Authorization</a></b> = 10;</code></td>
|
---|
87 | </tr>
|
---|
88 | <tr class="list">
|
---|
89 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_FTP">FCL_FTP</a></b> = 11;</code></td>
|
---|
90 | </tr>
|
---|
91 | <tr class="list2">
|
---|
92 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_NTP">FCL_NTP</a></b> = 12;</code></td>
|
---|
93 | </tr>
|
---|
94 | <tr class="list">
|
---|
95 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_LogAudit">FCL_LogAudit</a></b> = 13;</code></td>
|
---|
96 | </tr>
|
---|
97 | <tr class="list2">
|
---|
98 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_LogAlert">FCL_LogAlert</a></b> = 14;</code></td>
|
---|
99 | </tr>
|
---|
100 | <tr class="list">
|
---|
101 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Time">FCL_Time</a></b> = 15;</code></td>
|
---|
102 | </tr>
|
---|
103 | <tr class="list2">
|
---|
104 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Local0">FCL_Local0</a></b> = 16;</code></td>
|
---|
105 | </tr>
|
---|
106 | <tr class="list">
|
---|
107 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Local1">FCL_Local1</a></b> = 17;</code></td>
|
---|
108 | </tr>
|
---|
109 | <tr class="list2">
|
---|
110 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Local2">FCL_Local2</a></b> = 18;</code></td>
|
---|
111 | </tr>
|
---|
112 | <tr class="list">
|
---|
113 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Local3">FCL_Local3</a></b> = 19;</code></td>
|
---|
114 | </tr>
|
---|
115 | <tr class="list2">
|
---|
116 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Local4">FCL_Local4</a></b> = 20;</code></td>
|
---|
117 | </tr>
|
---|
118 | <tr class="list">
|
---|
119 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Local5">FCL_Local5</a></b> = 21;</code></td>
|
---|
120 | </tr>
|
---|
121 | <tr class="list2">
|
---|
122 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Local6">FCL_Local6</a></b> = 22;</code></td>
|
---|
123 | </tr>
|
---|
124 | <tr class="list">
|
---|
125 | <td class="itemcode"><code><b><a href="slogsend.html#FCL_Local7">FCL_Local7</a></b> = 23;</code></td>
|
---|
126 | </tr>
|
---|
127 | </table>
|
---|
128 | <h2 class="description">Description</h2>
|
---|
129 | <h3 class="detail">Functions and Procedures</h3>
|
---|
130 | <table class="detail">
|
---|
131 | <tr class="list">
|
---|
132 | <td class="itemcode"><a name="ToSysLog"></a><code>function <b>ToSysLog</b>(const SyslogServer: string; Facil: Byte; Sever: <a href="slogsend.html#TSyslogSeverity">TSyslogSeverity</a>; const Content: string): Boolean;</code></td>
|
---|
133 | </tr>
|
---|
134 | </table>
|
---|
135 | <p>
|
---|
136 | Simply send packet to specified Syslog server.</p>
|
---|
137 | <h3 class="detail">Types</h3>
|
---|
138 | <table class="detail">
|
---|
139 | <tr class="list">
|
---|
140 | <td class="itemcode"><a name="TSyslogSeverity"></a><code><b>TSyslogSeverity</b> = (...);</code></td>
|
---|
141 | </tr>
|
---|
142 | </table>
|
---|
143 | <p>
|
---|
144 | Define possible priority of Syslog message</p>
|
---|
145 | <ul>
|
---|
146 | <li>
|
---|
147 | Emergency: </li>
|
---|
148 | <li>
|
---|
149 | Alert: </li>
|
---|
150 | <li>
|
---|
151 | Critical: </li>
|
---|
152 | <li>
|
---|
153 | Error: </li>
|
---|
154 | <li>
|
---|
155 | Warning: </li>
|
---|
156 | <li>
|
---|
157 | Notice: </li>
|
---|
158 | <li>
|
---|
159 | Info: </li>
|
---|
160 | <li>
|
---|
161 | Debug: </li>
|
---|
162 | </ul>
|
---|
163 | <h3 class="detail">Constants</h3>
|
---|
164 | <table class="detail">
|
---|
165 | <tr class="list">
|
---|
166 | <td class="itemcode"><a name="cSysLogProtocol"></a><code><b>cSysLogProtocol</b> = '514';</code></td>
|
---|
167 | </tr>
|
---|
168 | </table>
|
---|
169 | <table class="detail">
|
---|
170 | <tr class="list">
|
---|
171 | <td class="itemcode"><a name="FCL_Kernel"></a><code><b>FCL_Kernel</b> = 0;</code></td>
|
---|
172 | </tr>
|
---|
173 | </table>
|
---|
174 | <table class="detail">
|
---|
175 | <tr class="list">
|
---|
176 | <td class="itemcode"><a name="FCL_UserLevel"></a><code><b>FCL_UserLevel</b> = 1;</code></td>
|
---|
177 | </tr>
|
---|
178 | </table>
|
---|
179 | <table class="detail">
|
---|
180 | <tr class="list">
|
---|
181 | <td class="itemcode"><a name="FCL_MailSystem"></a><code><b>FCL_MailSystem</b> = 2;</code></td>
|
---|
182 | </tr>
|
---|
183 | </table>
|
---|
184 | <table class="detail">
|
---|
185 | <tr class="list">
|
---|
186 | <td class="itemcode"><a name="FCL_System"></a><code><b>FCL_System</b> = 3;</code></td>
|
---|
187 | </tr>
|
---|
188 | </table>
|
---|
189 | <table class="detail">
|
---|
190 | <tr class="list">
|
---|
191 | <td class="itemcode"><a name="FCL_Security"></a><code><b>FCL_Security</b> = 4;</code></td>
|
---|
192 | </tr>
|
---|
193 | </table>
|
---|
194 | <table class="detail">
|
---|
195 | <tr class="list">
|
---|
196 | <td class="itemcode"><a name="FCL_Syslogd"></a><code><b>FCL_Syslogd</b> = 5;</code></td>
|
---|
197 | </tr>
|
---|
198 | </table>
|
---|
199 | <table class="detail">
|
---|
200 | <tr class="list">
|
---|
201 | <td class="itemcode"><a name="FCL_Printer"></a><code><b>FCL_Printer</b> = 6;</code></td>
|
---|
202 | </tr>
|
---|
203 | </table>
|
---|
204 | <table class="detail">
|
---|
205 | <tr class="list">
|
---|
206 | <td class="itemcode"><a name="FCL_News"></a><code><b>FCL_News</b> = 7;</code></td>
|
---|
207 | </tr>
|
---|
208 | </table>
|
---|
209 | <table class="detail">
|
---|
210 | <tr class="list">
|
---|
211 | <td class="itemcode"><a name="FCL_UUCP"></a><code><b>FCL_UUCP</b> = 8;</code></td>
|
---|
212 | </tr>
|
---|
213 | </table>
|
---|
214 | <table class="detail">
|
---|
215 | <tr class="list">
|
---|
216 | <td class="itemcode"><a name="FCL_Clock"></a><code><b>FCL_Clock</b> = 9;</code></td>
|
---|
217 | </tr>
|
---|
218 | </table>
|
---|
219 | <table class="detail">
|
---|
220 | <tr class="list">
|
---|
221 | <td class="itemcode"><a name="FCL_Authorization"></a><code><b>FCL_Authorization</b> = 10;</code></td>
|
---|
222 | </tr>
|
---|
223 | </table>
|
---|
224 | <table class="detail">
|
---|
225 | <tr class="list">
|
---|
226 | <td class="itemcode"><a name="FCL_FTP"></a><code><b>FCL_FTP</b> = 11;</code></td>
|
---|
227 | </tr>
|
---|
228 | </table>
|
---|
229 | <table class="detail">
|
---|
230 | <tr class="list">
|
---|
231 | <td class="itemcode"><a name="FCL_NTP"></a><code><b>FCL_NTP</b> = 12;</code></td>
|
---|
232 | </tr>
|
---|
233 | </table>
|
---|
234 | <table class="detail">
|
---|
235 | <tr class="list">
|
---|
236 | <td class="itemcode"><a name="FCL_LogAudit"></a><code><b>FCL_LogAudit</b> = 13;</code></td>
|
---|
237 | </tr>
|
---|
238 | </table>
|
---|
239 | <table class="detail">
|
---|
240 | <tr class="list">
|
---|
241 | <td class="itemcode"><a name="FCL_LogAlert"></a><code><b>FCL_LogAlert</b> = 14;</code></td>
|
---|
242 | </tr>
|
---|
243 | </table>
|
---|
244 | <table class="detail">
|
---|
245 | <tr class="list">
|
---|
246 | <td class="itemcode"><a name="FCL_Time"></a><code><b>FCL_Time</b> = 15;</code></td>
|
---|
247 | </tr>
|
---|
248 | </table>
|
---|
249 | <table class="detail">
|
---|
250 | <tr class="list">
|
---|
251 | <td class="itemcode"><a name="FCL_Local0"></a><code><b>FCL_Local0</b> = 16;</code></td>
|
---|
252 | </tr>
|
---|
253 | </table>
|
---|
254 | <table class="detail">
|
---|
255 | <tr class="list">
|
---|
256 | <td class="itemcode"><a name="FCL_Local1"></a><code><b>FCL_Local1</b> = 17;</code></td>
|
---|
257 | </tr>
|
---|
258 | </table>
|
---|
259 | <table class="detail">
|
---|
260 | <tr class="list">
|
---|
261 | <td class="itemcode"><a name="FCL_Local2"></a><code><b>FCL_Local2</b> = 18;</code></td>
|
---|
262 | </tr>
|
---|
263 | </table>
|
---|
264 | <table class="detail">
|
---|
265 | <tr class="list">
|
---|
266 | <td class="itemcode"><a name="FCL_Local3"></a><code><b>FCL_Local3</b> = 19;</code></td>
|
---|
267 | </tr>
|
---|
268 | </table>
|
---|
269 | <table class="detail">
|
---|
270 | <tr class="list">
|
---|
271 | <td class="itemcode"><a name="FCL_Local4"></a><code><b>FCL_Local4</b> = 20;</code></td>
|
---|
272 | </tr>
|
---|
273 | </table>
|
---|
274 | <table class="detail">
|
---|
275 | <tr class="list">
|
---|
276 | <td class="itemcode"><a name="FCL_Local5"></a><code><b>FCL_Local5</b> = 21;</code></td>
|
---|
277 | </tr>
|
---|
278 | </table>
|
---|
279 | <table class="detail">
|
---|
280 | <tr class="list">
|
---|
281 | <td class="itemcode"><a name="FCL_Local6"></a><code><b>FCL_Local6</b> = 22;</code></td>
|
---|
282 | </tr>
|
---|
283 | </table>
|
---|
284 | <table class="detail">
|
---|
285 | <tr class="list">
|
---|
286 | <td class="itemcode"><a name="FCL_Local7"></a><code><b>FCL_Local7</b> = 23;</code></td>
|
---|
287 | </tr>
|
---|
288 | </table>
|
---|
289 | <hr noshade size="1"><span class="appinfo"><em>Generated by <a target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.9.0</a> on 2012-04-23 21:38:51</em>
|
---|
290 | </span>
|
---|
291 | </body></html>
|
---|