#include <cerrno>
#include <string>
+#include "stg/logger.h"
+#include "stg/dotconfpp.h"
#include "settings_impl.h"
-#include "stg_logger.h"
-#include "dotconfpp.h"
using namespace std;
//-----------------------------------------------------------------------------
void SETTINGS_IMPL::ErrorCallback(void * data, const char * buf)
{
- printfd(__FILE__, buf);
+ printfd(__FILE__, "SETTINGS_IMPL::ErrorCallback() - %s\n", buf);
SETTINGS_IMPL * settings = static_cast<SETTINGS_IMPL *>(data);
- settings->logger(buf);
+ settings->logger("%s", buf);
}
//-----------------------------------------------------------------------------
int SETTINGS_IMPL::ReadSettings()