KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
FileLoggerOutput is a class for all file logger outputs. More...
#include <file_logger_output.h>
Public Member Functions | |
Type Definitions | |
KRATOS_CLASS_POINTER_DEFINITION (FileLoggerOutput) | |
Pointer definition of FileLoggerOutput. More... | |
Life Cycle | |
FileLoggerOutput (const std::string &rName) | |
~FileLoggerOutput () | |
Destructor. More... | |
Operators | |
FileLoggerOutput & | operator= (FileLoggerOutput const &Other)=delete |
Input and output | |
virtual std::string | Info () const override |
Turn back information as a string. More... | |
Public Member Functions inherited from Kratos::LoggerOutput | |
KRATOS_DEFINE_LOCAL_FLAG (WARNING_PREFIX) | |
KRATOS_DEFINE_LOCAL_FLAG (INFO_PREFIX) | |
KRATOS_DEFINE_LOCAL_FLAG (DETAIL_PREFIX) | |
KRATOS_DEFINE_LOCAL_FLAG (DEBUG_PREFIX) | |
KRATOS_DEFINE_LOCAL_FLAG (TRACE_PREFIX) | |
KRATOS_CLASS_POINTER_DEFINITION (LoggerOutput) | |
Pointer definition of LoggerOutput. More... | |
LoggerOutput (std::ostream &rOutputStream) | |
LoggerOutput (LoggerOutput const &Other) | |
virtual | ~LoggerOutput () |
Destructor. More... | |
LoggerOutput & | operator= (LoggerOutput const &Other)=delete |
virtual void | WriteHeader () |
virtual void | WriteMessage (LoggerMessage const &TheMessage) |
virtual void | Flush () |
void | SetMaxLevel (std::size_t TheLevel) |
std::size_t | GetMaxLevel () const |
void | SetSeverity (LoggerMessage::Severity const &TheSeverity) |
LoggerMessage::Severity | GetSeverity () const |
void | SetCategory (LoggerMessage::Category const &TheCategory) |
LoggerMessage::Category | GetCategory () const |
void | SetOption (const Kratos::Flags ThisFlag, bool Value) |
bool | GetOption (const Kratos::Flags ThisFlag) |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
template<class StreamValueType > | |
LoggerOutput & | operator<< (StreamValueType const &rValue) |
string stream function More... | |
LoggerOutput & | operator<< (std::ostream &(*pf)(std::ostream &)) |
Manipulator stream function. More... | |
LoggerOutput & | operator<< (const char *rString) |
char stream function More... | |
Protected Member Functions | |
void | SetMessageColor (LoggerMessage::Severity MessageSeverity) override |
void | ResetMessageColor (LoggerMessage::Severity MessageSeverity) override |
Protected Member Functions inherited from Kratos::LoggerOutput | |
LoggerOutput () | |
std::ostream & | GetStream () |
std::ostream * | pGetStream () |
void | SetStream (std::ostream *pStream) |
FileLoggerOutput is a class for all file logger outputs.
FileLoggerOutput creates a log file and writes to it.
|
explicit |
|
inline |
Destructor.
|
overridevirtual |
Turn back information as a string.
Reimplemented from Kratos::LoggerOutput.
Kratos::FileLoggerOutput::KRATOS_CLASS_POINTER_DEFINITION | ( | FileLoggerOutput | ) |
Pointer definition of FileLoggerOutput.
|
delete |
|
inlineoverrideprotectedvirtual |
Reimplemented from Kratos::LoggerOutput.
|
inlineoverrideprotectedvirtual |
Reimplemented from Kratos::LoggerOutput.