Remove code duplication - logging

This commit is contained in:
Nedko Arnaudov 2009-08-17 04:13:12 +03:00
parent ede74992d2
commit 1f94bfd1ea
1 changed files with 0 additions and 34 deletions

View File

@ -56,9 +56,6 @@ public:
void refresh();
void clear_load();
void info_msg(const std::string& msg);
void error_msg(const std::string& msg);
void status_msg(const std::string& msg);
void update_state();
void set_studio_availability(bool available);
@ -431,37 +428,6 @@ Patchage::clear_load()
#endif
}
void
Patchage::error_msg(const std::string& msg)
{
#if defined(LOG_TO_STATUS)
status_msg(msg);
#endif
#if defined(LOG_TO_STD)
std::cerr << msg << std::endl;
#endif
}
void
Patchage::info_msg(const std::string& msg)
{
#if defined(LOG_TO_STATUS)
status_msg(msg);
#endif
#if defined(LOG_TO_STD)
std::cerr << msg << std::endl;
#endif
}
void
Patchage::status_msg(const std::string& msg)
{
}
void
Patchage::update_state()
{