This contains the source files for the "Omnipedia - Logger" Drupal module, which provides logging enhancements for Omnipedia.
This module is fairly bare-bones at the moment. It exists primarily to provide
the requirement for drupal/monolog
and a custom Monolog mail handler
(Logger\Handler\DrupalMailHandler
)
to send emails using Drupal core's mail manager while implementing true
dependency
injection.
Ensure that you have your Drupal installation set up with the correct Composer
installer types such as those provided by the drupal/recommended-project
template.
If you're starting from scratch, simply requiring that template and following
the Drupal.org Composer
documentation
should get you up and running.
In your root composer.json
, add the following to the "repositories"
section:
"drupal/omnipedia_logger": {
"type": "vcs",
"url": "https://github.com/neurocracy/drupal-omnipedia-logger.git"
}
Once you've completed all of the above, run composer require "drupal/omnipedia_logger:^4.0@dev"
in the root of your project to have
Composer install this and its required dependencies for you.
The following major version bumps indicate breaking changes:
- 4.x - Requires Drupal 9.5 or Drupal 10.