memory_exporter
Definition
/**
* Create a MemoryExporter.
*
* Unified exporter that stores logs, metrics, and spans in memory for direct access.
* Useful for testing and inspection without serialization.
*
* @param null|int $maxEntriesPerSignal maximum entries retained per signal type; null keeps everything
*/
memory_exporter(?int $maxEntriesPerSignal) : MemoryExporter