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