WC_Logger::notice()
Adds a notice level message.
Normal but significant events.
Метод класса: WC_Logger{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Logger = new WC_Logger(); $WC_Logger->notice( $message, $context );
- $message(строка) (обязательный)
- Message to log.
- $context(массив)
- Log context.
По умолчанию: array()
Заметки
- Смотрите: WC_Logger::log
Код WC_Logger::notice() WC Logger::notice WC 9.7.1
public function notice( $message, $context = array() ) { $this->log( WC_Log_Levels::NOTICE, $message, $context ); }