X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FSystemLogger.php;h=75c730230cf73eb68767b05739a365f227cccaae;hb=23de1ac098f62001327fc1bd6aac2db04ee327a3;hp=6b1222ced92cf7cfdc35ca8a66fa90125e1c382a;hpb=c24be2289c776d9ee74980d0db74996804bd0eff;p=civicrm-core.git diff --git a/CRM/Utils/SystemLogger.php b/CRM/Utils/SystemLogger.php index 6b1222ced9..75c730230c 100644 --- a/CRM/Utils/SystemLogger.php +++ b/CRM/Utils/SystemLogger.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -23,12 +23,12 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2014 + * @copyright CiviCRM LLC (c) 2004-2015 * $Id$ * */ @@ -36,17 +36,10 @@ class CRM_Utils_SystemLogger extends Psr\Log\AbstractLogger implements \Psr\Log\ /** * Logs with an arbitrary level. * - * @param mixed $level - * @param string $message - * @param array $context - * @return null - */ - /** * @param mixed $level * @param string $message * @param array $context * - * @return null */ public function log($level, $message, array $context = array()) { if (!isset($context['hostname'])) { @@ -65,4 +58,5 @@ class CRM_Utils_SystemLogger extends Psr\Log\AbstractLogger implements \Psr\Log\ $rec->context = json_encode($context); $rec->save(); } + }