log\Logger $flushInterval

$flushInterval public property

How many messages should be logged before they are flushed from memory and sent to targets. Defaults to 1000, meaning the flush() method will be invoked once every 1000 messages logged. Set this property to be 0 if you don't want to flush messages until the application terminates. This property mainly affects how much memory will be taken by the logged messages. A smaller value means less memory, but will increase the execution time due to the overhead of flush().

public integer $flushInterval = 1000
doc_Yii
2016-10-30 17:06:52
Comments
Leave a Comment

Please login to continue.