(mongodb >=1.17.0)
MongoDB\Driver\Monitoring\LogSubscriber::log — Notification method for a log message
$level
, string $domain
, string $message
): voidIf 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.
No value is returned.