log: function is now a reserved name, so changed to crashlog: