Fixed log function arguments order's error.