Renamed 'log()' -> 'writeLog()'

Apparently 'log' is a built-in somewhere, I'm guessing "logarithm"
function?