add simple logger. no log file support
add log file support