Documentation

setLevel

 public
\Bitrix\Sale\TradingPlatform\Logger::setLevel(
 integer $logLevel
);

Sets level of refinement for log entries. 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