support windows
add Logger class