fix(log): Call the log function properly