diff --git a/developer_manual/basics/logging.rst b/developer_manual/basics/logging.rst index 42ed7401b..272a34e07 100644 --- a/developer_manual/basics/logging.rst +++ b/developer_manual/basics/logging.rst @@ -4,7 +4,7 @@ Logging .. sectionauthor:: Bernhard Posselt -The logger is present by default in the container. The app that is Logging is +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: @@ -14,21 +14,20 @@ The logger can be used in the following way: logger = $logger; $this->appName = $appName; } public function log($message) { - $this->logger->error($message, array('extra_context' => 'my extra context')); + $this->logger->error($message, ['extra_context' => 'my extra context']); } }