Throwing an exception for not knowing that the varargs for logEvent must be a multiple of 2 is a bit extreme.  A better failback would be to ignore the incorrectly formatted arguments