Adding experimental (and optional) support of log4cxx logging.
Also, adding a sample logging configuration
diff --git a/model/sync-scheduler.cc b/model/sync-scheduler.cc
index c5f1ca0..f54f91f 100644
--- a/model/sync-scheduler.cc
+++ b/model/sync-scheduler.cc
@@ -21,11 +21,13 @@
*/
#include "sync-scheduler.h"
-#include <boost/date_time/posix_time/posix_time.hpp>
+#include "sync-log.h"
using namespace boost;
using namespace std;
+INIT_LOGGER ("Scheduler");
+
namespace Sync {
Scheduler::Scheduler ()
@@ -45,6 +47,7 @@
void
Scheduler::threadLoop ()
{
+ _LOG_FUNCTION (this);
while (m_threadRunning)
{
try