Skip to content

eugene-petrov/magento2-dedicated-log-file

Repository files navigation

M2 Coding Standard M2 Mess Detector M2 PHPStan

Snippet_DedicatedLogFile

Description

Example of how to start using a dedicated log file

How to install

  • composer require magento2-dedicated-log-file
  • php bin/magento module:enable Snippet_DedicatedLogFile
  • php bin/magento setup:upgrade
  • php bin/magento clean:cache

Example

Go to: http://{host.name}/snippet/log/

and you will see the following form: form

Write you text and submit: form_submitted

Observe the content of the file: var/log/snippet.log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages