Toggle navigation
libopenraw
Main
Projects
libopenraw
Exempi
Raw Thumbnailer
File Formats
All
Canon CR2
Canon CR3
Canon CRW
Fujfilm
Nikon
Olympus
Panasonic
Pentax
Blog
Development
libopenraw
0.3.7
lib
capi
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
32
void
or_debug_set_level
(
debug_level
lvl)
33
{
34
Debug::Trace::setDebugLevel(lvl);
35
}
36
37
38
#ifdef __cplusplus
39
}
40
#endif
or_debug_set_level
API_EXPORT void or_debug_set_level(debug_level lvl)
Set the debug level.
Definition:
debug.cpp:32
debug_level
enum _debug_level debug_level
Debug levels.