Prepare stats. Currently only maxIdLength supported in core, can be extended
in custom plugin.

@return {{maxIdLength: number}}
function calcStats() {
  return {
    maxIdLength: Math.max(...Object.keys(loggers).map((l) => l.length))
  };
}