Handle log files and log events.
More...
#include "config.h"
#include "constants.h"
#include "typedefs.h"
#include "macros.h"
#include "externs.h"
#include "prototypes.h"
#include <errno.h>
#include <string.h>
|
char * | logfile_init (char *filename) |
|
void | logfile_move (char *oldfn, char *newfn) |
|
int | start_log (const char *primary, const char *secondary, int key) |
|
void | end_log (void) |
|
void | _log_perror (const char *file, int line, const char *primary, const char *secondary, const char *extra, const char *failing_object) |
|
void | _log_write (const char *file, int line, int key, const char *primary, const char *secondary, const char *format,...) |
|
void | log_write_raw (int key, const char *format,...) |
|
char * | log_getname (dbref target) |
|
char * | log_gettype (dbref thing, char *d) |
|
void | do_logrotate (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused))) |
|
void | logfile_close (void) |
|
Handle log files and log events.
- Author
- TinyMUSH development team (https://github.com/TinyMUSH)
- Version
- 3.3
- Date
- 2021-01-04
- Copyright
- Copyright (C) 1989-2021 TinyMUSH development team. You may distribute under the terms the Artistic License, as specified in the COPYING file.
- Warning
- Be carefull that functions doesn't go circural when calling one of the XMALLOC functions.
◆ log_fp
Pointer to the facility's log file
◆ mainlog_fp
Pointer to the main log file