![]() ![]() Symfony integrates seamlessly with Monolog, the most. Lastly, we can also use Docker's exec to make it all a tad easier. To log a message, inject the default logger in your controller or service: Monolog. Tail -f $(PWD)storage/logs/laravel.log | awk '\ ![]() I spent some time to try to get colorized output of log files too. We created a command make test which will spin up a PHP container within our network and run phpunit. MAKEPATH := $(abspath $(lastword $(MAKEFILE_LIST))) # Set dir of Makefile to a variable to use later
0 Comments
Leave a Reply. |