28#define LOG(fmt, ...) verboselog(fmt, ##__VA_ARGS__)
29#define ELOG(fmt, ...) errorlog("ERROR: " fmt, ##__VA_ARGS__)
30#define DLOG(fmt, ...) debuglog("%s:%s:%d - " fmt, __FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__)
void void void void purge_zerobyte_logfile(void)
Deletes the unused log files.
bool get_debug_logging(void)
Checks if debug logging is active.
void log_new_client(EV_P_ struct ev_io *w, int revents)
void void void verboselog(char *fmt,...) __attribute__((format(printf
Logs the given message to stdout while prefixing the current time to it, but only if verbose mode is ...
void init_logging(void)
Initializes logging by creating an error logfile in /tmp (or XDG_RUNTIME_DIR, see get_process_filenam...
void set_debug_logging(const bool _debug_logging)
Set debug logging.
char * current_log_stream_socket_path
void open_logbuffer(void)
Opens the logbuffer.
void set_verbosity(bool _verbose)
Set verbosity of i3.
void void errorlog(char *fmt,...) __attribute__((format(printf
Logs the given message to stdout while prefixing the current time to it.
void debuglog(char *fmt,...) __attribute__((format(printf
Logs the given message to stdout while prefixing the current time to it, but only if debug logging wa...
void close_logbuffer(void)
Closes the logbuffer.