Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
logging.h
Go to the documentation of this file.
1// Copyright 2010-2025 Google LLC
2// Licensed under the Apache License, Version 2.0 (the "License");
3// you may not use this file except in compliance with the License.
4// You may obtain a copy of the License at
5//
6// http://www.apache.org/licenses/LICENSE-2.0
7//
8// Unless required by applicable law or agreed to in writing, software
9// distributed under the License is distributed on an "AS IS" BASIS,
10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11// See the License for the specific language governing permissions and
12// limitations under the License.
13
14#ifndef ORTOOLS_BASE_LOGGING_H_
15#define ORTOOLS_BASE_LOGGING_H_
16
17#include "absl/base/log_severity.h" // IWYU pragma: export
18#include "absl/base/macros.h" // IWYU pragma: export
19#include "absl/flags/declare.h" // IWYU pragma: export
20#include "absl/flags/flag.h" // IWYU pragma: export
21#include "absl/log/check.h" // IWYU pragma: export
22#include "absl/log/die_if_null.h" // IWYU pragma: export
23#include "absl/log/globals.h" // IWYU pragma: export
24#include "absl/log/log.h" // IWYU pragma: export
25#include "absl/log/vlog_is_on.h" // IWYU pragma: export
26#include "absl/memory/memory.h" // IWYU pragma: export
27#include "absl/status/status.h" // IWYU pragma: export
28#include "absl/strings/str_cat.h" // IWYU pragma: export
29#include "absl/strings/string_view.h" // IWYU pragma: export
30#include "ortools/base/base_export.h" // IWYU pragma: export
31
32#ifdef NDEBUG
33const bool DEBUG_MODE = false;
34#else // NDEBUG
35const bool DEBUG_MODE = true;
36#endif // NDEBUG
37
38namespace operations_research {
39
41
42} // namespace operations_research
43
44#endif // ORTOOLS_BASE_LOGGING_H_
const bool DEBUG_MODE
Definition logging.h:35
OR-Tools root namespace.
void FixFlagsAndEnvironmentForSwig()
Definition logging.cc:28