|
SeasLog::closeLoggerStreamManually release stream flow from logger 説明
public static bool SeasLog::closeLoggerStream(int
$model , string $logger )Manually release stream flow from logger. SeasLog caches the stream handle opened by the log logger to save the overhead of creating a stream. The handle will be automatically released at the end of the request. If in CLI mode, the process will also automatically release when it exits. Or you can use the following functions to manually release(manually release function needs to update SeasLog 1.8.6 or updated version). パラメータ
戻り値Return TRUE on released stream flow success, FALSE on failure. 例例1 SeasLog::closeLoggerStream example
上の例の出力は、 たとえば以下のようになります。 bool(true) bool(true) bool(true) 参考
|