(PECL seaslog >=1.0.0)
SeasLog::getLastLogger — Get SeasLog last logger path
Use the Function SeasLog::getLastLogger() will get the value of seaslog.default_logger what configured in php.ini(seaslog.ini).
Cette fonction ne contient aucun paramètre.
Use the Function SeasLog::setLogger() will change the value of function SeasLog::getLastLogger().
Exemple #1 SeasLog::getLastLogger() example
<?php
var_dump(SeasLog::getLastLogger());
SeasLog::setLogger('theNewLogger');
var_dump(SeasLog::getLastLogger());
?>
Résultat de l'exemple ci-dessus est similaire à :
string(7) "default" string(12) "theNewLogger"