From 0ae4dc72191877f83cec8d40c4f501f4d7b3af6e Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 9 Mar 2015 11:36:02 +0100 Subject: [PATCH] log parameter instead of 'hi' --- developer_manual/app/logging.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developer_manual/app/logging.rst b/developer_manual/app/logging.rst index 0d1a782c8..943682fa3 100644 --- a/developer_manual/app/logging.rst +++ b/developer_manual/app/logging.rst @@ -61,7 +61,7 @@ and then be used in the following way: } public function log($message) { - $this->logger->error('hi', array('app' => $this->appName)); + $this->logger->error($message, array('app' => $this->appName)); } } @@ -76,4 +76,4 @@ The following methods are available: * **warning** * **notice** * **info** -* **debug** \ No newline at end of file +* **debug**