#include <stdio.h>#include <stdarg.h>#include <stdlib.h>#include <string.h>#include "emu/emu.h"#include "emu/emu_log.h"
Classes | |
| struct | emu_logging |
Functions | |
| struct emu_logging * | emu_log_new (void) |
| void | emu_log_free (struct emu_logging *el) |
| void | emu_log_level_set (struct emu_logging *el, enum emu_log_level level) |
| void | emu_log (struct emu *e, enum emu_log_level level, const char *format,...) |
| void | emu_log_set_logcb (struct emu_logging *el, emu_log_logcb logcb) |
| void | emu_log_default_logcb (struct emu *e, enum emu_log_level level, const char *msg) |
| void emu_log | ( | struct emu * | e, | |
| enum emu_log_level | level, | |||
| const char * | format, | |||
| ... | ||||
| ) |
References EMU_LOG_NONE, emu_logging_get(), emu_logging::logcb, and emu_logging::loglevel.

| void emu_log_default_logcb | ( | struct emu * | e, | |
| enum emu_log_level | level, | |||
| const char * | msg | |||
| ) |
Referenced by emu_log_new().
| void emu_log_free | ( | struct emu_logging * | el | ) |
Referenced by emu_free().
| void emu_log_level_set | ( | struct emu_logging * | el, | |
| enum emu_log_level | level | |||
| ) |
References emu_logging::loglevel.
| struct emu_logging* emu_log_new | ( | void | ) | [read] |
References emu_log_default_logcb(), and emu_logging::logcb.
Referenced by emu_new().

| void emu_log_set_logcb | ( | struct emu_logging * | el, | |
| emu_log_logcb | logcb | |||
| ) |
References emu_logging::logcb.
1.6.1