toArray()
toArray() : array
Monolog log record interface for forward compatibility with Monolog 3.0
This is just present in Monolog 2.4+ to allow interoperable code to be written against
both versions by type-hinting arguments as array|\Monolog\LogRecord $record
Do not rely on this interface for other purposes, and do not implement it.