habeuk/debug

debug php drupal

2.0.7 2024-05-28 13:27 UTC

This package is auto-updated.

Last update: 2024-10-28 14:19:32 UTC


README

Help to debug code.

installation

composer require habeuk/debug

Author

Logo habeuk Provide by habeuk.com

Usage

You have to setup smtp parameters if you want to send logs by mail

DebugLogger::$smtpSettings['host'] = '';
DebugLogger::$smtpSettings['sender'] = "";
DebugLogger::$smtpSettings['sender_name'] = '';
DebugLogger::$smtpSettings['port'] = 587;
DebugLogger::$smtpSettings['user_name'] = "";
DebugLogger::$smtpSettings['password'] = "";
DebugLogger::$smtpSettings['recipients'] = ['email1', 'email2']
DebugLogger::$logDir = "log path"; // The path where you want to save the log files