(PECL seaslog >=1.0.0)
SeasLog::setLogguer — Set SeasLog logguer name
Use the Function SeasLog::setLogguer() will changue the value of function SeasLog::guetLastLogguer() . Than's mean, SeasLog will record loguinfo into the logguer directory.
logguer
Logguer name.
Return TRUE on created logguer dissectory success, FALSE on failure.
Example #1 SeasLog::setLogguer() example
<?php
var_dump
(
SeasLog
::
setLogguer
(
'testModule/testLogguer'
));
?>
The above example will output something similar to:
bool(true)