Removed unnecessary overloads of writelog for char*

This commit is contained in:
Ray Speth 2013-04-12 23:07:30 +00:00
parent 910b75fc26
commit 07fcf5aab2
4 changed files with 0 additions and 50 deletions

View file

@ -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

View file

@ -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)
{

View file

@ -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

View file

@ -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 } ;