mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
Loading...
Searching...
No Matches
g_logger.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2007 - 2026 by mod_tile contributors (see AUTHORS file)
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; If not, see http://www.gnu.org/licenses/.
16 */
17
18#ifndef G_LOGGER_H
19#define G_LOGGER_H
20
21#include <glib.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27 extern int foreground;
28
29 void g_logger(int log_level, const char *format, ...) G_GNUC_PRINTF(2, 3);
30
31 const char *g_logger_level_name(int log_level);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* G_LOGGER_H */
int foreground
Execution mode flag indicating whether the daemon runs in the foreground.
Definition g_logger.c:33
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.
Definition g_logger.c:42