-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Description
Hello,
Reading the 'Quick Tour' PDF book (https://symfony.com/pdf/Symfony_quick_tour_4.2.pdf).
On page 13/14 there's a code sample for using logging.
public function index($name, LoggerInterface $logger) {
$logger->info("Saying hello to $name!");
}
The new log message will be written to var/log/dev.log.
I have never worked with Symfony before (hence reading the Quick Tour book) so I am not sure why logging is not happening. There's nothing in the 'var/log' directory.
Metadata
Metadata
Assignees
Labels
No labels