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_FILEIO_LOGLEVELSINFO_HPP
22 #define GEOS_FILEIO_LOGLEVELSINFO_HPP
23 
24 #include "common/DataTypes.hpp"
26 
27 namespace geos
28 {
29 
30 namespace logInfo
31 {
32 
37 
39 
40 struct DataCollectorInitialization
41 {
42  static constexpr int getMinLogLevel() { return 3; }
43  static constexpr std::string_view getDescription() { return "Information on Time history Initialization"; }
44 };
45 
46 struct ChomboIOInitialization
47 {
48  static constexpr int getMinLogLevel() { return 1; }
49  static constexpr std::string_view getDescription() { return "Information on chomboIO coupling Initialization"; }
50 };
51 
52 struct OutputEvents
53 {
54  static constexpr int getMinLogLevel() { return 2; }
55  static constexpr std::string_view getDescription() { return "Information on output events (VTK/ChomboIO/HDF5)"; }
56 };
57 
58 struct UmpireStatistics
59 {
60  static constexpr int getMinLogLevel() { return 1; }
61  static constexpr std::string_view getDescription()
62  {
63  return "The statistics (minimal, maximal, average and sum) of memory usage of each Umpire memory pool "
64  "across all ranks.";
65  }
66 };
67 
68 struct HDF5Writing
69 {
70  static constexpr int getMinLogLevel() { return 3; }
71  static constexpr std::string_view getDescription() { return "Information on buffered data in an HDF5 file "; }
72 };
73 
74 struct OutputTimers
75 {
76  static constexpr int getMinLogLevel() { return 1; }
77  static std::string_view getDescription() { return "Output timing information"; }
78 };
79 
82 
83 }
84 
85 }
86 
87 #endif // GEOS_FILEIO_LOGLEVELSINFO_HPP
constexpr std::string_view getDescription(Unit unit)
Definition: Units.hpp:123
std::string_view string_view
String type.
Definition: DataTypes.hpp:93