You are here

public static function InstapageCmsPluginHelper::writeLog in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/InstapageCmsPluginHelper.php \InstapageCmsPluginHelper::writeLog()

Writes an entry in debug log.

Parameters

mixed $value Value to be stored.:

string $name Name of the value. Default: ''.:

File

core/InstapageCmsPluginHelper.php, line 393

Class

InstapageCmsPluginHelper
Helper containing commonly used static functions.

Code

public static function writeLog($value, $name = '') {
  $log = InstapageCmsPluginDebugLogModel::getInstance();
  $log
    ->write($value);
}