*/
#include <dpl/test/test_runner.h>
#include <dpl/thread.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
RUNNER_TEST_GROUP_INIT(DPL)
int id;
Foo(int i = 0) : id(i)
{
- LogDebug("Foo: ctor: " << id);
+ WrtLogD("Foo: ctor: %i", id);
}
~Foo()
{
- LogDebug("Foo: dtor: " << id);
+ WrtLogD("Foo: dtor: %i", id);
g_wasFooDeleted = true;
}
void Bar()
{
- LogDebug("Foo: bar");
+ WrtLogD("Foo: bar");
}
};
protected:
virtual int ThreadEntry()
{
- LogDebug("In thread");
+ WrtLogD("In thread");
RUNNER_ASSERT(!g_foo);
RUNNER_ASSERT(g_foo.IsNull());