Artec 3D Scanning SDK
2.0
Main Page
Basics
Namespaces
Classes
Files
Samples
Beyond Basics
File List
File Members
artec
sdk
capturing
Log.h
Go to the documentation of this file.
1
/********************************************************************
2
*
3
* Project Artec 3D Scanning SDK
4
*
5
* Purpose: log code
6
*
7
* Copyright: Artec Group
8
*
9
********************************************************************/
10
11
#ifndef _ACAPTURESDK_LOG_H_
12
#define _ACAPTURESDK_LOG_H_
13
14
#ifndef ACAPTURESDK_DISABLE_TRACING
15
#include <
artec/sdk/base/Log.h
>
16
17
namespace
artec
{
namespace
sdk {
namespace
capturing
18
{
19
20
#define ACAPTURESDK_MESSAGE(severity, ...) { if (artec::sdk::base::getOutputLevel() >= severity) artec::sdk::base::report(severity, L"CAPT", __VA_ARGS__); }
21
#define ACAPTURESDK_INFO(...) ACAPTURESDK_MESSAGE(artec::sdk::base::VerboseLevel_Info, __VA_ARGS__)
22
#define ACAPTURESDK_ERROR(...) ACAPTURESDK_MESSAGE(artec::sdk::base::VerboseLevel_Error, __VA_ARGS__)
23
#define ACAPTURESDK_WARNING(...) ACAPTURESDK_MESSAGE(artec::sdk::base::VerboseLevel_Warning, __VA_ARGS__)
24
#define ACAPTURESDK_TRACE(...) ACAPTURESDK_MESSAGE(artec::sdk::base::VerboseLevel_Trace, __VA_ARGS__)
25
26
} } }
// namespace artec::sdk::capturing
27
28
#else
29
30
#define ACAPTURESDK_MESSAGE(severity, ...) {}
31
#define ACAPTURESDK_INFO(...) {}
32
#define ACAPTURESDK_ERROR(...) {}
33
#define ACAPTURESDK_WARNING(...) {}
34
#define ACAPTURESDK_TRACE(...) {}
35
36
#endif
37
38
#endif // _ACAPTURESDK_LOG_H_
artec
Definition:
AlgorithmWorkset.h:14
Log.h
Generated by
1.8.9.1