VoidLogExporter implements LogExporter
Read onlyYes
FinalYes
No-op log exporter that discards all data.
Interfaces
- LogExporter
- Interface for exporting log records to external systems.
Methods
- export() : bool
- Export a batch of log entries.
- transports() : array<string|int, Transport>
- Get the transports used by this exporter.
Methods
export()
Export a batch of log entries.
public
export(array<string|int, LogEntry> $entries) : bool
Parameters
- $entries : array<string|int, LogEntry>
Return values
bool —True on success, false on failure
transports()
Get the transports used by this exporter.
public
transports() : array<string|int, Transport>