Rename all 'log' functions of class log into 'wrt'. The reason is that BSD has a #define log line and there was a clash