Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2013-10-08 05:57:11 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-08 05:57:11 +0400
commitc42bd694fa366f467b642a51f6989a608808af00 (patch)
tree2be285fff274ba054ec3ee8a9714423adba61b48 /core/Log.php
parentf01a8ac17ffb032e5a29d864147c46052d4a1478 (diff)
refs #4199 our hooks doc generator supports Markdown
Diffstat (limited to 'core/Log.php')
-rw-r--r--core/Log.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/core/Log.php b/core/Log.php
index 90f8a373c9..c3da2871d3 100644
--- a/core/Log.php
+++ b/core/Log.php
@@ -289,13 +289,15 @@ class Log
* Logging writers must be associated by name in the array passed to event handlers.
*
* Example handler:
- * function (&$writers) {
- * $writers['myloggername'] = function ($level, $tag, $datetime, $message) {
- * ...
- * }
+ * ```
+ * function (&$writers) {
+ * $writers['myloggername'] = function ($level, $tag, $datetime, $message) {
+ * ...
* }
+ * }
*
- * // 'myloggername' can now be used in the log_writers config option.
+ * // 'myloggername' can now be used in the log_writers config option.
+ * ```
*/
Piwik_PostEvent(self::GET_AVAILABLE_WRITERS_EVENT, array(&$writers));