use std::wstring in logger