My Apache writes a new line as \\n to the apache error.log, so that in the console I get this output:
[Wed Feb 28 01:06:04.777718 2018] [:error] Mooc\\DB\\Block Object\n(\n    [errors] => Array\n        (\n        )\n\n    [content:protected] => Array\n        (\n        )\n\n    [content_db:protected] => Array\n        (\n  
How is the error.log configured, for getting this output:
[Wed Feb 28 01:06:04.777718 2018] [:error]  Mooc\\DB\\Block Object(
[errors] => Array
    (
    )
[content:protected] => Array
    (
    )
[content_db:protected] => Array
    (
