PHPMailerLogger
- Full name:
\Qubus\Log\Loggers\PHPMailerLogger
- Parent class:
\Qubus\Log\Loggers\BaseLogger
- This class implements:
\Psr\Log\LoggerInterface
Properties
subject
to
from
encoding
logFormat
mailer
threshold
Methods
__construct
public __construct(\Qubus\Mail\Mailer $mailer, string|\Psr\Log\LogLevel $threshold, array $params = []): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$mailer | \Qubus\Mail\Mailer | |
$threshold | string|\Psr\Log\LogLevel | |
$params | array |
log
Parameters:
Parameter | Type | Description |
---|---|---|
$level | string|\Psr\Log\LogLevel | |
$message | string|\Stringable | |
$context | array |
send
Parameters:
Parameter | Type | Description |
---|---|---|
$content | mixed |
Throws:
setEncoding
Parameters:
Parameter | Type | Description |
---|---|---|
$encoding | string |
Throws:
getEncoding
setFrom
Parameters:
Parameter | Type | Description |
---|---|---|
$value | mixed |
setTo
Parameters:
Parameter | Type | Description |
---|---|---|
$value | mixed |
Inherited methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$params | array |
Throws:
isAvailable
Parameters:
Parameter | Type | Description |
---|---|---|
$level | mixed |
getDate
stringify
Parameters:
Parameter | Type | Description |
---|---|---|
$data | array |
interpolate
Parameters:
Parameter | Type | Description |
---|---|---|
$message | mixed | |
$context | array |
__get
Parameters:
Parameter | Type | Description |
---|---|---|
$name | mixed |
Throws:
__set
Parameters:
Parameter | Type | Description |
---|---|---|
$name | mixed | |
$value | mixed |
Throws:
__isset
Parameters:
Parameter | Type | Description |
---|---|---|
$name | mixed |
Automatically generated on 2025-10-13