Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
anoxia committed Mar 5, 2019
1 parent 8ad8f6f commit 82f4ff2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 26 deletions.
51 changes: 25 additions & 26 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
```ini
[SeasLog]
extension = seaslog.so

;默认log根目录
seaslog.default_basepath = "/var/log/www"

; 日志格式模板 默认"%T | %L | %P | %Q | %t | %M"
; 进程ID | DateTime | Level | 当前内存使用峰值量 | Message 日志信息
seaslog.default_template = "%P | %T | %L | %u | %M"

;是否启用buffer 1是 0否(默认)
seaslog.use_buffer = 1

;buffer中缓冲数量 默认0(不使用buffer_size)
seaslog.buffer_size = 100
```

0 comments on commit 82f4ff2

Please sign in to comment.