Fix: Indentation when throwing exception
Fix: Remove extra empty lines
Fix: Add trailing commas in array initializations
Merge branch 'cs/#6179-logger-indentation-and-trailing-commas' into develop

Close #6179
Forward Port #6179