On this page
LogTransport
class LogTransport implements TransportInterface (View source)
Properties
protected LoggerInterface | $logger | The Logger instance. |
Methods
void | __construct(LoggerInterface $logger) Create a new log transport instance. |
|
SentMessage|null | send(RawMessage $message, Envelope $envelope = null) {@inheritdoc} |
|
LoggerInterface | logger() Get the logger for the LogTransport instance. |
|
string | __toString() Get the string representation of the transport. |
Details
void __construct(LoggerInterface $logger)
Create a new log transport instance.
SentMessage|null send(RawMessage $message, Envelope $envelope = null)
{@inheritdoc}
LoggerInterface logger()
Get the logger for the LogTransport instance.
string __toString()
Get the string representation of the transport.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Mail/Transport/LogTransport.html