Quick fix for newlines in compat logger loglines.
Quick fix for newlines in compat logger loglines.

Default value for context is array(), which var_export formats with
newlines. Quick fix is to only call var_export when actually something
to output as context. Not ideal but improves common case.

simplesamlphp/saml2