GEOS
LogLevelsInfo.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2016-2024 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2024 TotalEnergies
7  * Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
8  * Copyright (c) 2023-2024 Chevron
9  * Copyright (c) 2019- GEOS/GEOSX Contributors
10  * All rights reserved
11  *
12  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
13  * ------------------------------------------------------------------------------------------------------------
14  */
15 
21 #ifndef GEOS_MESH_LOGLEVELSINFO_HPP
22 #define GEOS_MESH_LOGLEVELSINFO_HPP
23 
24 #include "common/DataTypes.hpp"
26 
27 namespace geos
28 {
29 
30 namespace logInfo
31 {
32 
37 
39 
40 struct ImportFields
41 {
42  static constexpr int getMinLogLevel() { return 1; }
43  static constexpr std::string_view getDescription() { return "Information on fields import"; }
44 };
45 
46 struct PartitionCommunication
47 {
48  static constexpr int getMinLogLevel() { return 3; }
49  static constexpr std::string_view getDescription() { return "Domain partition setup communication"; }
50 };
51 
52 struct VTKSteps
53 {
54  static constexpr int getMinLogLevel() { return 2; }
55  static constexpr std::string_view getDescription() { return "VTK mesh generator steps"; }
56 };
57 
58 
61 
62 }
63 
64 }
65 
66 #endif // GEOS_MESH_LOGLEVELSINFO_HPP
constexpr std::string_view getDescription(Unit unit)
Definition: Units.hpp:123
std::string_view string_view
String type.
Definition: DataTypes.hpp:93