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]
[CASE:1212405]
. $\endgroup$