Files
yookassa-sdk-php/docs/classes/YooKassa-Common-LoggerWrapper.md
T
Антон Н. Николаев b6bf136dc6 В объект платежа добавлен объект payment_order с типом utilities (оплата жилищно-коммунальных услуг). Для платежей Сбербанк Бизнес Онлайн (СББОЛ) добавлена ставка НДС 5%, а ставка 18% отмечена как deprecated
Добавлено новое значение `PayoutCancellationDetails.reason=self_employed_annual_limit_exceeded` - текущая выплата превысит лимит разрешенного годового дохода самозанятого
В поле `SbpPayerBankDetails.bank_id` изменён паттерн валидации значения
Добавлена поддержка работы со способами оплаты
В объект возврата добавлен объект `refund_authorization_details` - детали авторизации возврата
Обновлен Copyright
Для чеков от ЮKassa (ЮЧеки), параметр `items`: изменено максимальное допустимо количество товаров в чеке (было 100, стало 80)
В номере банковской карты разрешено указывать Diners Club (14 знаков) и American Express (15 знаков)
2025-07-24 14:13:44 +03:00

8.0 KiB

YooKassa API SDK

Class: \YooKassa\Common\LoggerWrapper

Namespace: \YooKassa\Common


Summary:

Класс, представляющий модель LoggerWrapper.

Description:

Класс логгера по умолчанию.


Constants

  • No constants found

Methods

Visibility Name Flag Summary
public __construct() LoggerWrapper constructor.
public alert() Action must be taken immediately.
public critical() Critical conditions.
public debug() Detailed debug information.
public emergency() System is unusable.
public error() Runtime errors that do not require immediate action but should typically be logged and monitored.
public info() Interesting events.
public log() Logs with an arbitrary level.
public notice() Normal but significant events.
public warning() Exceptional occurrences that are not errors.

Details


Tags

Tag Version Description
category Class
author cms@yoomoney.ru

Methods

public __construct() : mixed

public __construct(callable|mixed|object $wrapped) : mixed

Summary

LoggerWrapper constructor.

Details:

Parameters:
Type Name Description
callable OR mixed OR object wrapped

Returns: mixed -

public alert() : void

public alert(string|\Stringable $message, array $context = []) : void

Summary

Action must be taken immediately.

Description

Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.

Details:

Parameters:
Type Name Description
string OR \Stringable message
array context

Returns: void -

public critical() : void

public critical(string|\Stringable $message, array $context = []) : void

Summary

Critical conditions.

Description

Example: Application component unavailable, unexpected exception.

Details:

Parameters:
Type Name Description
string OR \Stringable message
array context

Returns: void -

public debug() : void

public debug(string|\Stringable $message, array $context = []) : void

Summary

Detailed debug information.

Details:

Parameters:
Type Name Description
string OR \Stringable message
array context

Returns: void -

public emergency() : void

public emergency(string|\Stringable $message, array $context = []) : void

Summary

System is unusable.

Details:

Parameters:
Type Name Description
string OR \Stringable message
array context

Returns: void -

public error() : void

public error(string|\Stringable $message, array $context = []) : void

Summary

Runtime errors that do not require immediate action but should typically be logged and monitored.

Details:

Parameters:
Type Name Description
string OR \Stringable message
array context

Returns: void -

public info() : void

public info(string|\Stringable $message, array $context = []) : void

Summary

Interesting events.

Description

Example: User logs in, SQL logs.

Details:

Parameters:
Type Name Description
string OR \Stringable message
array context

Returns: void -

public log() : void

public log(mixed $level, string|\Stringable $message, array $context = []) : void

Summary

Logs with an arbitrary level.

Details:

Parameters:
Type Name Description
mixed level
string OR \Stringable message
array context

Returns: void -

public notice() : void

public notice(string|\Stringable $message, array $context = []) : void

Summary

Normal but significant events.

Details:

Parameters:
Type Name Description
string OR \Stringable message
array context

Returns: void -

public warning() : void

public warning(string|\Stringable $message, array $context = []) : void

Summary

Exceptional occurrences that are not errors.

Description

Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

Details:

Parameters:
Type Name Description
string OR \Stringable message
array context

Returns: void -


Top Namespaces


Reports


This document was automatically generated from source code comments on 2025-07-24 using phpDocumentor

© 2025 YooMoney