57 virtual void write(
const string& msg) {
67 std::cout << std::endl;
76 virtual void warn(
const string& warning,
const string& msg) {
77 std::clog << warning <<
"Warning: " << msg << std::endl;
91 virtual void error(
const string& msg) {
92 std::cerr << msg << std::endl;
Base class for 'loggers' that write text messages to log files.
virtual void writeendl()
Write an end of line character and flush output.
Logger()
Constructor - empty.
virtual void write(const string &msg)
Write a log message.
virtual ~Logger()
Destructor - empty.
virtual void error(const string &msg)
Write an error message and quit.
virtual void warn(const string &warning, const string &msg)
Write a warning message.
This file contains definitions of constants, types and terms that are used in internal routines and a...
Namespace for the Cantera kernel.