Annotation of libwww/Library/src/HTLog.html, revision 2.2
2.1 frystyk 1: <HTML>
2: <HEAD>
3: <TITLE>Log Manager</TITLE>
4: <NEXTID N="z1">
5: </HEAD>
6: <BODY>
7:
8: <H1>Log Manager</H1>
9:
10: <PRE>
11: /*
2.2 ! frystyk 12: ** (c) COPYRIGHT MIT 1995.
2.1 frystyk 13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
16:
17: This module maintaines logs of request to a file.<P>
18:
19: This module is implemented by <A HREF="HTLog.c">HTLog.c</A>, and it is
20: a part of the <A
21: HREF="http://www.w3.org/hypertext/WWW/Library/User/Guide/Guide.html">
22: Library of Common Code</A>.
23:
24: <PRE>
25: #ifndef HTLIBLOG_H
26: #define HTLIBLOG_H
27:
28: #include "HTAccess.h"
29: </PRE>
30:
31: <H2>Enable the log</H2>
32:
33: Open the log file and start doing log. The time used in the log file
34: is either GMT or local dependent on <CODE>local</CODE>.
35:
36: <PRE>
37: extern BOOL HTLog_enable PARAMS((CONST char * filename, BOOL local));
38: </PRE>
39:
40: <H2>Disable the log</H2>
41:
42: Close the log file and do more log
43:
44: <PRE>
45: extern BOOL HTLog_disable NOPARAMS;
46: </PRE>
47:
48: <H2>Log a Request</H2>
49:
50: This functions logs the result of a request.
51:
52: <PRE>
53: extern BOOL HTLog_request PARAMS((HTRequest * request));
54:
55: #endif
56: </PRE>
57:
58: End of declaration
59: </BODY>
60: </HTML>
61:
62:
63:
Webmaster