O365LoggerService
class O365LoggerService implements O365LoggerServiceInterface
Our custom Logger service.
Properties
| protected LoggerInterface | $logger | The logger channel. |
|
| protected LoggerChannelFactoryInterface | $loggerFactory | Drupal\Core\Logger\LoggerChannelFactoryInterface definition. |
|
| protected Messenger | $messenger | The drupal messenger. |
Methods
__construct(LoggerChannelFactoryInterface $logger_factory, Messenger $messenger)
Constructs a new O365LoggerService object.
debug(TranslatableMarkup $message)
Log a debug message into the watchdog.
log(TranslatableMarkup|string $message, string $severity)
Log a message into the watchdog.
Details
at line 38
__construct(LoggerChannelFactoryInterface $logger_factory, Messenger $messenger)
Constructs a new O365LoggerService object.
at line 55
debug(TranslatableMarkup $message)
Log a debug message into the watchdog.
at line 47
log(TranslatableMarkup|string $message, string $severity)
Log a message into the watchdog.