12#error "This file is not expected to be compiled for backend code"
34#define SGR_ERROR_DEFAULT "01;31"
35#define SGR_WARNING_DEFAULT "01;35"
36#define SGR_NOTE_DEFAULT "01;36"
37#define SGR_LOCUS_DEFAULT "01"
39#define ANSI_ESCAPE_FMT "\x1b[%sm"
40#define ANSI_ESCAPE_RESET "\x1b[0m"
44#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
45#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
#define Assert(condition)
#define fprintf(file, fmt, msg)
void * pg_malloc_extended(size_t size, int flags)
#define MCXT_ALLOC_NO_OOM
void pg_logging_increase_verbosity(void)
#define SGR_WARNING_DEFAULT
static const char * sgr_note
static const char * sgr_error
#define SGR_LOCUS_DEFAULT
void pg_logging_init(const char *argv0)
#define SGR_ERROR_DEFAULT
void pg_logging_set_locus_callback(void(*cb)(const char **filename, uint64 *lineno))
static const char * sgr_warning
static void(* log_pre_callback)(void)
static void(* log_locus_callback)(const char **, uint64 *)
static const char * sgr_locus
void pg_logging_config(int new_flags)
void pg_logging_set_level(enum pg_log_level new_level)
void pg_log_generic_v(enum pg_log_level level, enum pg_log_part part, const char *pg_restrict fmt, va_list ap)
void pg_logging_set_pre_callback(void(*cb)(void))
static const char * progname
enum pg_log_level __pg_log_level
#define ANSI_ESCAPE_RESET
void pg_log_generic(enum pg_log_level level, enum pg_log_part part, const char *pg_restrict fmt,...)
#define PG_LOG_FLAG_TERSE
static char buf[DEFAULT_XLOG_SEG_SIZE]
char * strsep(char **stringp, const char *delim)
const char * get_progname(const char *argv0)