add logger c version, ringbuffer support readBorder