Documentation

Logger constructor

 public
\Bitrix\Sale\TradingPlatform\Logger::__construct(
 integer $logLevel = self::LOG_LEVEL_ERROR
);

Creates an object of this type. Non-static method.

Parameters

ParameterDescriptionVersion
$logLevelLevel of refinement for log entries. Available values:
  1. const LOG_LEVEL_DISABLE = 0; - log is not maintained;
  2. const LOG_LEVEL_ERROR = 10; - only errors are logged;
  3. const LOG_LEVEL_INFO = 20; - minimum number of log entries;
  4. const LOG_LEVEL_DEBUG = 30; - maximum data is logged.

Example



© «Bitrix24», 2001-2024
Up