PHP 7.4.0RC4 Released!

SeasLog::getLastLogger

(PECL seaslog >=1.0.0)

SeasLog::getLastLoggerGet SeasLog last logger path

Description

public static SeasLog::getLastLogger ( void ) : string

Use the Function SeasLog::getLastLogger() will get the value of seaslog.default_logger what configured in php.ini(seaslog.ini).

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Use the Function SeasLog::setLogger() will change the value of function SeasLog::getLastLogger().

Exemples

Exemple #1 SeasLog::getLastLogger() example

<?php

var_dump
(SeasLog::getLastLogger());
SeasLog::setLogger('theNewLogger');
var_dump(SeasLog::getLastLogger());
?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

string(7) "default"
string(12) "theNewLogger"

Voir aussi

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top