Removed unnecessary overloads of writelog for char*
This commit is contained in:
parent
910b75fc26
commit
07fcf5aab2
4 changed files with 0 additions and 50 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 } ;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue