MongoDB\Driver\Monitoring\LogSubscriber::log

(mongodb >=1.17.0)

MongoDB\Driver\Monitoring\LogSubscriber::log β€” Notification method for a log message

θͺ¬ζ˜Ž

abstract public function MongoDB\Driver\Monitoring\LogSubscriber::log(int $level, string $domain, string $message): void

If the subscriber is registered, this method is called for each logged message.

パラパータ

level
The severity level. This will be one of the interface constants.
domain
The name of the driver component that emitted the log message.
message
The log message.

ζˆ»γ‚Šε€€

倀を返しません。

エラー / δΎ‹ε€–

参考

οΌ‹add a note

User Contributed Notes

There are no user contributed notes for this page.