Bug introduced in 10.0.0 and fixed in 10.0.1
Version 10:
This works:
grids[min_, max_] := Table[If[EvenQ[i], {i, Red}, {i, Blue}],
{i, Ceiling[min], Floor[max], 1}];
Plot[Sin[x], {x, -Pi, Pi}, GridLines -> grids]

But when used with LogPlot it gives an error:
LogPlot[x^x, {x, 1, 5}, GridLines -> grids]



GridLines -> {func, func}form worked; now it does not. This is still a v10 bug/regression/ugliness and I don't think the matter should be concluded merely because some aspect of that option still works. One of us could start a new Question about the bi-axis form but I think it better to keep this in one place. (Thanks to mine we already have two related questions.) – Mr.Wizard Jul 12 '14 at 09:55[CASE:1212405]. – m0nhawk Jul 12 '14 at 10:11