Define the context field in LogFormatter
authorMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 13 Feb 2015 03:53:50 +0000 (22:53 -0500)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 13 Feb 2015 03:55:12 +0000 (22:55 -0500)
Public for backwards-compatibility.

Change-Id: I6d66d14b58def1fe6674b47d1e4d3ff53034bf2c

includes/logging/LogFormatter.php

index c6fcdb0..4487fec 100644 (file)
@@ -80,6 +80,9 @@ class LogFormatter {
        /** @var int Constant for handling log_deleted */
        protected $audience = self::FOR_PUBLIC;
 
+       /** @var IContextSource Context for logging */
+       public $context;
+
        /** @var bool Whether to output user tool links */
        protected $linkFlood = false;