Skip to content

Commit 7e44920

Browse files
committed
update code tips
1 parent a35cedd commit 7e44920

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CodeTips/SeasLogCodeTips.php

+20
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,26 @@ static public function getBuffer()
198198
return array();
199199
}
200200

201+
/**
202+
* 获取是否开启buffer
203+
*
204+
* @return bool
205+
*/
206+
static public function getBufferEnabled()
207+
{
208+
return true;
209+
}
210+
211+
/**
212+
* 获取当前buffer count
213+
*
214+
* @return int
215+
*/
216+
static public function getBufferCount()
217+
{
218+
return 0;
219+
}
220+
201221
/**
202222
* 将buffer中的日志立刻刷到硬盘
203223
*

0 commit comments

Comments
 (0)