# io_writer_to_logger A wrapper that implemented io.Writer and emit log function each line.