New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/2624848 event system watchdog entry #297
Conversation
Must be discussed
Whats in it:
Plz have discussions about the logger-event format. Currently it is implemented the same as dblog. |
use RfcLoggerTrait; | ||
|
||
/** | ||
* An EventDispatcherInterface instance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add var docs for the data type?
$this->logger = $this->container->get('logger.channel.rules'); | ||
|
||
// Creates a logger-item, that must be dispatched as event. | ||
\Drupal::logger('rules_test') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use $this->container->get('logger.factory')->get('rules_test');
continued in #314 |
https://www.drupal.org/node/2624848
Thisi s pull-request for discussion. Sitting now with klausi