mod_tile
0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
Toggle main menu visibility
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
24
extern
"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 */
foreground
int foreground
Execution mode flag indicating whether the daemon runs in the foreground.
Definition
g_logger.c:33
g_logger
void g_logger(int log_level, const char *format,...) G_GNUC_PRINTF(2
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.
Definition
g_logger.c:42
includes
g_logger.h
Generated by
1.18.0