Verbosity.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <iosfwd>
7 
8 /// \cond
9 template <typename T>
10 struct create_from_yaml;
11 class Option;
12 /// \endcond
13 
14 /// \ingroup LoggingGroup
15 /// \brief Indicates how much informative output a class should output.
16 enum class Verbosity { Silent, Quiet, Verbose, Debug };
17 
18 std::ostream& operator<<(std::ostream& os, const Verbosity& verbosity) noexcept;
19 
20 template <>
22  template <typename Metavariables>
23  static Verbosity create(const Option& options) {
24  return create<void>(options);
25  }
26 };
27 template <>
The type that options are passed around as. Contains YAML node data and an OptionContext.
Definition: Options.hpp:104
Used by the parser to create an object. The default action is to parse options using T::options...
Definition: Options.hpp:144
constexpr auto create(Args &&... args)
Create a new DataBox.
Definition: DataBox.hpp:1259
Verbosity
Indicates how much informative output a class should output.
Definition: Verbosity.hpp:16