тест логирования в файл

This commit is contained in:
rsgrinko committed 2022-04-22 17:16:28 +03:00
1 parent e2ba12f4ca
commit 9978f6d851
1 file changed
+3
+3
View File
@@ -12,6 +12,9 @@
Telegram::init('5232660453:AAGfMWu6EcRfBGSSURJsEEvGPmAqhCyzYHU', './');
//$userId = User::registration('test', '12345', 'support@it-stories.ru', 'user', 'Тестировщик', 'http://samag.ru/uploads/5222447.png');
if (isset($_REQUEST['log']) && $_REQUEST['log'] === CODE_VALUE_Y) {
Log::logToFile('Тестовое сообщение в лог', 'test.log', $_REQUEST);
}
/*$user = new User($userId);*/