comparison src/core/ngx_log.h @ 160:e7e094d34162

nginx-0.0.1-2003-10-27-11:53:49 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Oct 2003 08:53:49 +0000
parents be27f922b9a2
children c1f3a3c7c5db
comparison
equal deleted inserted replaced
159:981e4af2a425 160:e7e094d34162
61 context: pop3 user account 61 context: pop3 user account
62 "... while reading client command for 'john_doe'" 62 "... while reading client command for 'john_doe'"
63 */ 63 */
64 64
65 65
66 typedef size_t (*ngx_log_handler_pt) (void *ctx, char *buf, size_t len);
67
68
66 typedef struct { 69 typedef struct {
67 int log_level; 70 int log_level;
68 ngx_open_file_t *file; 71 ngx_open_file_t *file;
69 void *data; 72 void *data;
70 size_t (*handler)(void *ctx, char *buf, size_t len); 73 ngx_log_handler_pt handler;
71 74
72 #if 0 75 #if 0
73 /* STUB */ 76 /* STUB */
74 char *action; 77 char *action;
75 char *context; 78 char *context;