writeLog
