Mercurial > audlegacy
annotate audacious/logger.h @ 2114:180e466f96bc trunk
[svn] - at present, only use extension filtering in the file:// namespace.
author | nenolod |
---|---|
date | Tue, 12 Dec 2006 23:13:01 -0800 |
parents | f18a5b617c34 |
children | 4bc65cec8f7a |
rev | line source |
---|---|
0 | 1 /* BMP - Cross-platform multimedia player |
2 * Copyright (C) 2003-2004 BMP development team. | |
3 * | |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
2105
f18a5b617c34
[svn] - move to GPLv2-only. Based on my interpretation of the license, we are
nenolod
parents:
1459
diff
changeset
|
6 * the Free Software Foundation; under version 2 of the License. |
0 | 7 * |
8 * This program is distributed in the hope that it will be useful, | |
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 * GNU General Public License for more details. | |
12 * | |
13 * You should have received a copy of the GNU General Public License | |
14 * along with this program; if not, write to the Free Software | |
1459 | 15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
0 | 16 */ |
17 | |
18 #ifndef LOGGER_H | |
19 #define LOGGER_H | |
20 | |
21 #include <glib.h> | |
22 | |
23 | |
24 #define BMP_LOGGER_DEFAULT_LOG_LEVEL G_LOG_LEVEL_MESSAGE | |
25 | |
26 /* default log file max size: 512kb */ | |
27 #define BMP_LOGGER_FILE_MAX_SIZE ((size_t)1 << 19) | |
28 | |
29 | |
30 gboolean bmp_logger_start(const gchar * filename); | |
31 void bmp_logger_stop(void); | |
32 | |
33 #endif |