2313
|
1 /* Audacious - Cross-platform multimedia player
|
|
2 * Copyright (C) 2005-2007 Audacious development team
|
|
3 *
|
|
4 * Based on BMP:
|
|
5 * Copyright (C) 2003-2004 BMP development team.
|
|
6 *
|
|
7 * This program is free software; you can redistribute it and/or modify
|
|
8 * it under the terms of the GNU General Public License as published by
|
|
9 * the Free Software Foundation; under version 2 of the License.
|
|
10 *
|
|
11 * This program is distributed in the hope that it will be useful,
|
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 * GNU General Public License for more details.
|
|
15 *
|
|
16 * You should have received a copy of the GNU General Public License
|
|
17 * along with this program; if not, write to the Free Software
|
|
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
19 */
|
|
20
|
|
21 #ifndef LOGGER_H
|
|
22 #define LOGGER_H
|
|
23
|
|
24 #include <glib.h>
|
|
25
|
|
26
|
|
27 #define BMP_LOGGER_DEFAULT_LOG_LEVEL G_LOG_LEVEL_MESSAGE
|
|
28
|
|
29 /* default log file max size: 512kb */
|
|
30 #define BMP_LOGGER_FILE_MAX_SIZE ((size_t)1 << 19)
|
|
31
|
|
32
|
|
33 gboolean bmp_logger_start(const gchar * filename);
|
|
34 void bmp_logger_stop(void);
|
|
35
|
|
36 #endif
|