#include "services.h"
#include "pseudo.h"
Go to the source code of this file.
Functions | |
| void | alog (const char *fmt,...) |
| void | close_log (void) |
| void | fatal (const char *fmt,...) |
| void | fatal_perror (const char *fmt,...) |
| void | fatal_sockerror (const char *fmt,...) |
| char * | log_gettimestamp (void) |
| void | log_perror (const char *fmt,...) |
| int | open_log (void) |
| void alog | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 154 of file log.c.
References BUFSIZE, debug, findchan(), log_gettimestamp(), logchan, LogChannel, nofork, privmsg(), s_GlobalNoticer, and vsnprintf.
| void fatal | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 225 of file log.c.
References anope_cmd_global(), log_gettimestamp(), ModuleRunTimeDirCleanUp(), nofork, servsock, and vsnprintf.
| void fatal_perror | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 260 of file log.c.
References anope_cmd_global(), log_gettimestamp(), ModuleRunTimeDirCleanUp(), nofork, servsock, strerror(), and vsnprintf.
| void fatal_sockerror | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 302 of file log.c.
References ano_sockgeterr, ano_sockstrerror, anope_cmd_global(), log_gettimestamp(), ModuleRunTimeDirCleanUp(), servsock, strerror(), and vsnprintf.
| char* log_gettimestamp | ( | void | ) |
Definition at line 121 of file log.c.
References debug, and snprintf().
Referenced by alog(), fatal(), fatal_perror(), fatal_sockerror(), and log_perror().
| void log_perror | ( | const char * | fmt, | |
| ... | ||||
| ) |
Definition at line 191 of file log.c.
References BUFSIZE, log_gettimestamp(), nofork, strerror(), and vsnprintf.
1.5.1-20070107