Freeciv-3.3
|
Go to the source code of this file.
Macros | |
#define | LOGLEVEL_TECH LOG_DEBUG |
#define | TECH_LOG(ait, loglevel, pplayer, padvance, msg, ...) |
#define | DIPLO_LOG(ait, loglevel, pplayer, aplayer, msg, ...) |
#define | BODYGUARD_LOG(ait, loglevel, punit, msg, ...) |
Functions | |
void | dai_city_log (struct ai_type *ait, char *buffer, int buflength, const struct city *pcity) |
void | dai_unit_log (struct ai_type *ait, char *buffer, int buflength, const struct unit *punit) |
void | real_tech_log (struct ai_type *ait, const char *file, const char *function, int line, enum log_level level, bool send_notify, const struct player *pplayer, struct advance *padvance, const char *msg,...) fc__attribute((__format__(__printf__ |
void | real_diplo_log (struct ai_type *ait, const char *file, const char *function, int line, enum log_level level, bool send_notify, const struct player *pplayer, const struct player *aplayer, const char *msg,...) fc__attribute((__format__(__printf__ |
void | real_bodyguard_log (struct ai_type *ait, const char *file, const char *function, int line, enum log_level level, bool send_notify, const struct unit *punit, const char *msg,...) fc__attribute((__format__(__printf__ |
Produce logline fragment for srv_log.
Definition at line 41 of file dailog.c.
Referenced by cai_city_log(), and texwai_city_log().
Produce logline fragment for srv_log.
Definition at line 54 of file dailog.c.
Referenced by cai_unit_log(), and texwai_unit_log().
void real_bodyguard_log | ( | struct ai_type * | ait, |
const char * | file, | ||
const char * | function, | ||
int | line, | ||
enum log_level | level, | ||
bool | send_notify, | ||
const struct unit * | punit, | ||
const char * | msg, | ||
... | |||
) |
void real_diplo_log | ( | struct ai_type * | ait, |
const char * | file, | ||
const char * | function, | ||
int | line, | ||
enum log_level | level, | ||
bool | send_notify, | ||
const struct player * | pplayer, | ||
const struct player * | aplayer, | ||
const char * | msg, | ||
... | |||
) |