Accessing a layout report

You access the layout report by using the method getLayoutReport after layout completion.
var report = layout.getLayoutReport();