Skip to content

Commit

Permalink
refs #4199 our hooks doc generator supports Markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Oct 8, 2013
1 parent f01a8ac commit c42bd69
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions core/Log.php
Expand Up @@ -289,13 +289,15 @@ private function getAvailableWriters()
* 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));

Expand Down

0 comments on commit c42bd69

Please sign in to comment.