ABLATE Source Documentation  0.12.34
ablate::monitors::logs::Log Class Referenceabstract
+ Inheritance diagram for ablate::monitors::logs::Log:

Public Member Functions

virtual void Printf (const char *,...)=0
 
virtual void Print (const char *value)
 
virtual void Print (const char *name, std::size_t num, const double *, const char *format=nullptr)
 
virtual void Initialize (MPI_Comm comm=MPI_COMM_SELF)
 
void Print (const char *name, const std::vector< double > &values, const char *format=nullptr)
 
const bool & Initialized () const
 
virtual std::ostream & GetStream ()
 

Member Function Documentation

◆ GetStream()

std::ostream & ablate::monitors::logs::Log::GetStream ( )
virtual

Return access to an underlying stream. Default implementation creates a stream that calls print

Returns

Reimplemented in ablate::monitors::logs::StreamLog, ablate::monitors::logs::StdOut, and ablate::monitors::logs::NullLog.


The documentation for this class was generated from the following files: