Adding experimental (and optional) support of log4cxx logging.
Also, adding a sample logging configuration
diff --git a/test/test_sync_logic.cc b/test/test_sync_logic.cc
index 66ea97a..f0abf82 100644
--- a/test/test_sync_logic.cc
+++ b/test/test_sync_logic.cc
@@ -48,16 +48,16 @@
{
m_map[p] = seq.getSeq ();
- cout << instance << "\t";
- if (!oldSeq.isValid ())
- cout << "Inserted: " << p << " (" << seq << ")" << endl;
- else
- cout << "Updated: " << p << " ( " << oldSeq << ".." << seq << ")" << endl;
+ // cout << instance << "\t";
+ // if (!oldSeq.isValid ())
+ // cout << "Inserted: " << p << " (" << seq << ")" << endl;
+ // else
+ // cout << "Updated: " << p << " ( " << oldSeq << ".." << seq << ")" << endl;
}
void onRemove (const string &p/*prefix*/)
{
- cout << instance << "\tRemoved: " << p << endl;
+ // cout << instance << "\tRemoved: " << p << endl;
m_map.erase (p);
}