implement Logger class

Signed-off-by: xushuai_win32 <xushvai@gmail.com>