======= Logging ======= .. sectionauthor:: Bernhard Posselt The logger is present by default in the container. The app that is Logging is set automatically. The logger can be used in the following way: .. code-block:: php logger = $logger; $this->appName = $appName; } public function log($message) { $this->logger->error($message, array('extra_context' => 'my extra context')); } } The following methods are available: * **emergency** * **alert** * **critical** * **error** * **warning** * **notice** * **info** * **debug**