docs update
This commit is contained in:
parent
a4e63ef73f
commit
e404486ccb
@ -3,6 +3,10 @@
|
|||||||
## Logger
|
## Logger
|
||||||
|
|
||||||
- [ ] 达到可用级别
|
- [ ] 达到可用级别
|
||||||
|
- `Outstream`
|
||||||
|
- `FileCacheOutputStream`
|
||||||
|
- 现在如果输入的文件名包含 `{time}`
|
||||||
|
- 会自动替换为 `time.strftime("%Y-%m-%d|%H-%M-%S")`
|
||||||
|
|
||||||
## Nuitka Compiler Helper
|
## Nuitka Compiler Helper
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ class FileCacheOutputStream(BaseOutputStream):
|
|||||||
# 初始化文件名
|
# 初始化文件名
|
||||||
if "{time}" in self.file_name:
|
if "{time}" in self.file_name:
|
||||||
self.file_name = self.file_name.format(time=time.strftime(
|
self.file_name = self.file_name.format(time=time.strftime(
|
||||||
"%Y-%m-%d %H-%M-%S", time.gmtime(self.file_start_time)
|
"%Y-%m-%d|%H-%M-%S", time.gmtime(self.file_start_time)
|
||||||
))
|
))
|
||||||
# 初始化缓存
|
# 初始化缓存
|
||||||
if self.text_cache is None:
|
if self.text_cache is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user