array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'mongodb-driver-monitoring-logsubscriber.log.php', 1 => 'MongoDB\\Driver\\Monitoring\\LogSubscriber::log', ), 'up' => array ( 0 => 'class.mongodb-driver-monitoring-logsubscriber.php', 1 => 'MongoDB\\Driver\\Monitoring\\LogSubscriber', ), 'prev' => array ( 0 => 'class.mongodb-driver-monitoring-logsubscriber.php', 1 => 'MongoDB\\Driver\\Monitoring\\LogSubscriber', ), 'next' => array ( 0 => 'class.mongodb-driver-monitoring-sdamsubscriber.php', 1 => 'MongoDB\\Driver\\Monitoring\\SDAMSubscriber', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/monitoring/logsubscriber/log.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\Driver\Monitoring\LogSubscriber::log

(mongodb >=1.17.0)

MongoDB\Driver\Monitoring\LogSubscriber::logNotification method for a log message

Descrizione

abstract public 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.

Elenco dei parametri

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.

Valori restituiti

Nessun valore viene restituito.

Errori/Eccezioni

Vedere anche: