Skip to content

Commit

Permalink
Write to Craft log
Browse files Browse the repository at this point in the history
bencroker committed Nov 21, 2023

Verified

This commit was signed with the committer’s verified signature.
bencroker Ben Croker
1 parent d210285 commit 39ce917
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Campaign

## 1.25.1 - Unreleased
### Changed
- Logs are now output to the Craft log, in addition to the Campaign log file.

## 1.25.0 - 2023-11-09
### Added
- Added the `sendoutJobPriority` config setting ([#433](https://github.com/putyourlightson/craft-campaign/issues/433)).
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "putyourlightson/craft-campaign",
"description": "Send and manage email campaigns, contacts and mailing lists.",
"version": "1.25.0",
"version": "1.25.1",
"type": "craft-plugin",
"homepage": "https://putyourlightson.com/plugins/campaign",
"license": "proprietary",
1 change: 1 addition & 0 deletions src/Campaign.php
Original file line number Diff line number Diff line change
@@ -333,6 +333,7 @@ public function log(string $message, array $params = [])
$message = Craft::t('campaign', $message, $params);

LogToFile::info($message, 'campaign');
Craft::info($message, 'campaign');
}

// Protected Methods

0 comments on commit 39ce917

Please sign in to comment.