Rename log to cpplog to avoid confusion with the log fuction in the standard library