ABLATE Source Documentation  0.12.34
stdOut.hpp
1 #ifndef ABLATELIBRARY_STDOUT_HPP
2 #define ABLATELIBRARY_STDOUT_HPP
3 #include <iostream>
4 #include "log.hpp"
5 
6 namespace ablate::monitors::logs {
7 class StdOut : public Log {
8  private:
9  bool output = true;
10 
11  public:
12  // allow access to all print from base
13  using Log::Print;
14  void Printf(const char*, ...) final;
15 
16  void Initialize(MPI_Comm comm) final;
17 
22  std::ostream& GetStream() override;
23 };
24 } // namespace ablate::monitors::logs
25 
26 #endif // ABLATELIBRARY_STDOUT_HPP
Definition: log.hpp:10
Definition: stdOut.hpp:7
std::ostream & GetStream() override
Definition: stdOut.cpp:21