-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog.h
29 lines (27 loc) · 911 Bytes
/
log.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/***************************************************************
* log.h ####### *
* chaos-eng(c) int13h 2005-2010 #.....# *
* #..@..# *
* log.c headers #.....# *
* ####### *
* *
***************************************************************/
enum LOG_RATING {
LOG_NONE = -1,
LOG_ERROR,
LOG_WARNING,
LOG_NOTICE,
LOG_DEBUG,
LOG_ALL
};
/*
###############
#..Prototypes.#
###############
*/
void set_logging_level(int level);
void open_logfile(void);
void close_logfile(void);
void console_log(char *file,const char *func, int line, int log_level, int messagelen);
void dump_grid(void);
void dump_spells(void);