Skip to content

Commit

Permalink
Merge branch 'release/4.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Oct 28, 2024
2 parents ef1bad8 + 1888ff9 commit 8ae29cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v4.1.1
## 10/28/2024

1. [](#improved)
* Updated logging methods to support Monolog2+

# v4.1.0
## 04/09/2024

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Email
slug: email
type: plugin
version: 4.1.0
version: 4.1.1
testing: false
description: Enables the emailing system for Grav
icon: envelope
Expand Down
2 changes: 1 addition & 1 deletion classes/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function send(Message $message, Envelope $envelope = null): int
$log_msg = "Email sent to %s at %s -> %s\n%s";
$to = $this->jsonifyRecipients($message->getEmail()->getTo());
$message = sprintf($log_msg, $to, date('Y-m-d H:i:s'), $this->message, $this->debug);
$this->log->addInfo($message);
$this->log->info($message);
}

return $status;
Expand Down

0 comments on commit 8ae29cb

Please sign in to comment.