$handler->
handleBatch($records);
$this->
assertSame(1,
$callCount);
} private function getDefaultFormatter(): FormatterInterface
{ // Monolog 1.X
if (\
defined(LogstashFormatter::
class.'::V1'
)) { return new LogstashFormatter('application', 'my hostname', null, 'ctxt_', LogstashFormatter::V1
);
} // Monolog 2.X
return new LogstashFormatter('application', 'my hostname'
);
}}