SeasLog::getDatetimeFormat

(PECL seaslog >=1.0.0)

SeasLog::getDatetimeFormat��ȡ SeasLog ���ڸ�ʽ

˵��

public static SeasLog::getDatetimeFormat ( void ) : string

��ȡ SeasLog ���ڸ�ʽ�� ʹ�ú��� SeasLog::getDatetimeFormat() ����ȡ php.ini(seaslog.ini) ���õ� seaslog.default_datetime_format ֵ��

����

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

����ֵ

��ȡ SeasLog �����е� seaslog.default_datetime_format ֵ�� ʹ�ú��� SeasLog::setDatetimeFormat() ���ı䱾������ȡֵ��

����

Example #1 SeasLog::getDatetimeFormat() example

<?php

var_dump
(SeasLog::getDateTimeFormat());
var_dump(SeasLog::setDateTimeFormat('Ymd His'));
var_dump(SeasLog::getDateTimeFormat());

?>

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

string(11) "Y-m-d H:i:s"
bool(true)
string(7) "Ymd His"

�μ�