Prepend zero when logging bytes. And also public access modified for logBuffer/logBytes.