As you know var_dump() in addition to value show its data type and length.
var_dump()
Is there any way to log its output to
Just throwing my hat in the ring. It sounds like FirePHP is the best way to go.