diff --git a/include/cantera/base/global.h b/include/cantera/base/global.h index 95720f61b..45819c8dc 100644 --- a/include/cantera/base/global.h +++ b/include/cantera/base/global.h @@ -266,21 +266,6 @@ inline void writelog(const std::string& msg, int loglevel) } } -//! Write a message to the screen. -/*! - * The string may be of any - * length, and may contain end-of-line characters. This method is - * used throughout %Cantera to write log messages. - * - * This routine is part of the interface suite whose behavior changes - * with the interface. The interface suite has been moved to the - * class logger and inherited classes of logger. - * - * @param msg c character string to be written to the screen - * @ingroup textlogs - */ -void writelog(const char* msg); - //! Write a formatted message to the screen /*! * Using the printf formatting of C, write a message to the screen diff --git a/src/base/application.cpp b/src/base/application.cpp index 08faa1fd9..9a5f01f91 100644 --- a/src/base/application.cpp +++ b/src/base/application.cpp @@ -143,12 +143,6 @@ void Application::Messages::logerror(const std::string& msg) logwriter->error(msg) ; } -// Write a message to the screen -void Application::Messages::writelog(const char* pszmsg) -{ - logwriter->write(pszmsg) ; -} - // Write a message to the screen void Application::Messages::writelog(const std::string& msg) { diff --git a/src/base/application.h b/src/base/application.h index 73c5a6009..cb7163ad9 100644 --- a/src/base/application.h +++ b/src/base/application.h @@ -149,17 +149,6 @@ protected: //! Write an end of line and flush output void writelogendl(); - //! Write a message to the screen. - /*! - * The string may be of any - * length, and may contain end-of-line characters. This method is - * used throughout %Cantera to write log messages. - * - * @param pszmsg c character string to be written to the screen - * @ingroup textlogs - */ - void writelog(const char* pszmsg) ; - //! Write an error message and quit. /*! * The default behavior is @@ -516,19 +505,6 @@ public: pMessenger->writelogendl(); } - //! Write a message to the screen. - /*! - * The string may be of any - * length, and may contain end-of-line characters. This method is - * used throughout %Cantera to write log messages. - * - * @param pszmsg c null terminated string to be written to the screen - * @ingroup textlogs - */ - void writelog(const char* pszmsg) { - pMessenger->writelog(pszmsg); - } - //! Write an error message and quit. /*! * The default behavior is diff --git a/src/base/global.cpp b/src/base/global.cpp index 962e6ba29..22bb40521 100644 --- a/src/base/global.cpp +++ b/src/base/global.cpp @@ -44,11 +44,6 @@ void writelog(const std::string& msg) app()->writelog(msg); } -void writelog(const char* msg) -{ - app()->writelog(msg); -} - void writelogf(const char* fmt,...) { enum { BUFSIZE = 2048 } ;