fix logger not implement emit bug.