libopenraw  0.3.7
debug.cpp
1 /* -*- mode:c++; indent-tabs-mode:nil; c-basic-offset:4; tab-width:4; -*- */
2 /*
3  * libopenraw - debug.cpp
4  *
5  * Copyright (C) 2006-2019 Hubert Figuière
6  *
7  * This library is free software: you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * as published by the Free Software Foundation, either version 3 of
10  * the License, or (at your option) any later version.
11  *
12  * This library 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 GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library. If not, see
19  * <http://www.gnu.org/licenses/>.
20  */
21 
22 #include <libopenraw/debug.h>
23 
24 #include "capi.h"
25 #include "trace.hpp"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 API_EXPORT
33 {
34  Debug::Trace::setDebugLevel(lvl);
35 }
36 
37 
38 #ifdef __cplusplus
39 }
40 #endif
API_EXPORT void or_debug_set_level(debug_level lvl)
Set the debug level.
Definition: debug.cpp:32
enum _debug_level debug_level
Debug levels.