Sorry,I forgot to add compilation errors:
loggerdlltest.cpp(7) : error C2653: 'Logger' : is not a class or namespace name
loggerdlltest.cpp(7) : error C3861: 'printLog': identifier not found, even with argument-dependent lookup