class
Illuminate
/
Mail
/
Transport
/
LogTransport
LogTransport
Implements
- Symfony\...\TransportInterface
Properties
protected
$logger
Psr\...\LoggerInterface
The Logger instance.
Default: null
Methods
public
__construct ( Psr\...\LoggerInterface $logger ) : void
Create a new log transport instance.
Parameters
- $logger Psr\...\LoggerInterface
public
send ( Symfony\...\RawMessage $message , Symfony\...\Envelope $envelope ) : void
{@inheritdoc}
public
logger ( ) : Psr\...\LoggerInterface
Get the logger for the LogTransport instance.
public
__toString ( ) : string
Get the string representation of the transport.