blob: 70c04d2d06ad7d7e577f06ffe698db671dadbe13 [file] [log] [blame]
Harald Welte3dcdd202019-03-09 13:06:46 +01001/* (C) 2018-2019 by Harald Welte <laforge@gnumonks.org>
2 *
3 * All Rights Reserved
4 *
5 * SPDX-License-Identifier: GPL-2.0+
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; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 */
22
23
Harald Welte61d98e92019-03-03 15:43:07 +010024#include <osmocom/core/logging.h>
25#include <osmocom/core/utils.h>
26#include "debug.h"
27
28static const struct log_info_cat default_categories[] = {
29 [DMAIN] = {
30 .name = "DMAIN",
31 .loglevel = LOGL_DEBUG,
32 .enabled = 1,
33 },
34};
35
36const struct log_info log_info = {
37 .cat = default_categories,
38 .num_cat = ARRAY_SIZE(default_categories),
39};