class Illuminate / Mail / Transport / LogTransport
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

LogTransport

Implements

  • Stringable
  • 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.