23#ifndef MUTT_MUTT_LOGGING_H
24#define MUTT_MUTT_LOGGING_H
34int log_disp_curses(time_t stamp,
const char *file,
int line,
const char *function,
enum LogLevel level,
const char *format, ...)
35 __attribute__((__format__(__printf__, 6, 7)));
int level_validator(const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err)
Validate the "debug_level" config variable - Implements ConfigDef::validator() -.
int main_log_observer(struct NotifyCallback *nc)
Notification that a Config Variable has changed - Implements observer_t -.
LogLevel
Names for the Logging Levels.
Convenience wrapper for the library headers.
int mutt_log_set_level(enum LogLevel level, bool verbose)
Change the logging level.
int mutt_log_set_file(const char *file)
Change the logging file.
int log_disp_curses(time_t stamp, const char *file, int line, const char *function, enum LogLevel level, const char *format,...) __attribute__((__format__(__printf__
void mutt_log_stop(void)
Close the log file.
int mutt_log_start(void)
Enable file logging.
void mutt_clear_error(void)
Clear the message line (bottom line of screen)
int void mutt_log_prep(void)
Prepare to log.
String manipulation buffer.
Container for lots of config items.
Data passed to a notification function.