Fixed minor logic issue in pdolog.

Passing an array to a PDOStatement->execute() will take precedence over previously bound parameters, so log things that way.

Also moved parameter printing into callback.