1.2.1590. ext/seaslog¶
Extension Seaslog.
An effective, fast, stable log extension for PHP.
<?php
$basePath_1 = SeasLog::getBasePath();
SeasLog::setBasePath('/log/base_test');
$basePath_2 = SeasLog::getBasePath();
var_dump($basePath_1,$basePath_2);
/*
string(19) "/log/seaslog-ciogao"
string(14) "/log/base_test"
*/
$lastLogger_1 = SeasLog::getLastLogger();
SeasLog::setLogger('testModule/app1');
$lastLogger_2 = SeasLog::getLastLogger();
var_dump($lastLogger_1,$lastLogger_2);
/*
string(7) "default"
string(15) "testModule/app1"
*/
?>
See also ext/SeasLog on Github and SeasLog.
1.2.1590.1. Specs¶
Short name |
Extensions/Extseaslog |
Rulesets |
|
Exakat since |
1.4.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |