ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
quiet_log_end.hpp
1
// This file is part of the ACTS project.
2
//
3
// Copyright (C) 2016 CERN for the benefit of the ACTS project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9
#include "detray/utils/logging.hpp"
10
11
// Allow to temporarily disable macro based logging.
12
// Note: Has to be preceded by an include of "quiet_log_start"!
13
#if defined(__GNUC__) && defined(__IN_QUIET_LOG_SECTION__)
14
15
#undef DETRAY_VERBOSE_HOST
16
#undef DETRAY_VERBOSE_DEVICE
17
#undef DETRAY_VERBOSE_HOST_DEVICE
18
#undef DETRAY_DEBUG_HOST
19
#undef DETRAY_DEBUG_DEVICE
20
#undef DETRAY_DEBUG_HOST_DEVICE
21
22
#pragma pop_macro("DETRAY_VERBOSE_HOST")
23
#pragma pop_macro("DETRAY_VERBOSE_DEVICE")
24
#pragma pop_macro("DETRAY_VERBOSE_HOST_DEVICE")
25
#pragma pop_macro("DETRAY_DEBUG_HOST")
26
#pragma pop_macro("DETRAY_DEBUG_DEVICE")
27
#pragma pop_macro("DETRAY_DEBUG_HOST_DEVICE")
28
29
#undef __IN_QUIET_LOG_SECTION__
30
31
#endif
Detray
core
include
detray
utils
quiet_log_end.hpp
Generated by
1.15.0