SeasLog::getLastLogger

(PECL seaslog >=1.0.0)

SeasLog::getLastLogger��� SeasLog �����һ�� Logger ����

˵��

public static SeasLog::getLastLogger ( void ) : string

ʹ�ú��� SeasLog::getLastLogger() ����ȡ php.ini(seaslog.ini) �����õ� seaslog.default_logger ֵ��

����

�˺���û�в�����

����ֵ

ʹ�ú��� SeasLog::setLogger() ���ı亯�� SeasLog::getLastLogger() ��ȡֵ��

����

Example #1 SeasLog::getLastLogger() example

<?php

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

�������̵���������ڣ�

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

�μ�