diff --git a/Library/OSRM.cpp b/Library/OSRM.cpp index f0937c988..1b714ef84 100644 --- a/Library/OSRM.cpp +++ b/Library/OSRM.cpp @@ -87,7 +87,7 @@ OSRM::~OSRM() { } void OSRM::RegisterPlugin(BasePlugin * plugin) { - std::cout << "[plugin] " << plugin->GetDescriptor() << std::endl; + SimpleLogger().Write() << "[plugin] " << plugin->GetDescriptor() << std::endl; pluginMap[plugin->GetDescriptor()] = plugin; } diff --git a/Library/OSRM.h b/Library/OSRM.h index a879a1223..7647f72c3 100644 --- a/Library/OSRM.h +++ b/Library/OSRM.h @@ -31,8 +31,9 @@ or see http://www.gnu.org/licenses/agpl.txt. #include "../Plugins/ViaRoutePlugin.h" #include "../Plugins/RouteParameters.h" #include "../Util/IniFile.h" -#include "../Util/OSRMException.h" #include "../Util/InputFileUtil.h" +#include "../Util/OSRMException.h" +#include "../Util/SimpleLogger.h" #include "../Server/BasicDatastructures.h" #include @@ -54,4 +55,4 @@ private: PluginMap pluginMap; }; -#endif //OSRM_H \ No newline at end of file +#endif //OSRM_H