mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
Loading...
Searching...
No Matches
g_logger.h File Reference
#include <glib.h>

Go to the source code of this file.

Functions

void g_logger (int log_level, const char *format,...) G_GNUC_PRINTF(2
void const char * g_logger_level_name (int log_level)
 Convert a GLib log level flag into a human-readable uppercase label.

Variables

int foreground
 Execution mode flag indicating whether the daemon runs in the foreground.

Function Documentation

◆ g_logger()

void g_logger ( int log_level,
const char * format,
... )

◆ g_logger_level_name()

void const char * g_logger_level_name ( int log_level)

Convert a GLib log level flag into a human-readable uppercase label.

Parameters
log_levelGLib log level (e.g., G_LOG_LEVEL_ERROR, G_LOG_LEVEL_INFO).
Returns
Constant string representation of the log level, or "UNKNOWN" if the level is not recognized.

Variable Documentation

◆ foreground

int foreground
extern

Execution mode flag indicating whether the daemon runs in the foreground.

When set to 1, log output is directed to standard streams (stdout/stderr) via GLib writers rather than systemd-journald or syslog.