in logger/common.go [490:492]
func bufferIsFull(buf []byte, head, bytesInBuffer int) bool { return head == 0 && bytesInBuffer == len(buf) }