Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File sink for Cosmos.Logging #24

Closed
alexinea opened this issue Feb 17, 2018 · 2 comments
Closed

File sink for Cosmos.Logging #24

alexinea opened this issue Feb 17, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@alexinea
Copy link
Member

完成 Cosmos.Logging.Sinks.File

  • 文件策略:文件如何命名,哪些日志写哪些文件,写在哪儿
  • 文件尺寸:不限制,还是写满后另启文件

相关api可参考:

@alexinea alexinea added the idea label Feb 17, 2018
@alexinea alexinea self-assigned this Feb 17, 2018
@alexinea alexinea added this to the Cosmos.Logging 0.1 milestone Feb 17, 2018
@alexinea
Copy link
Member Author

#28

目前实现以下两个特性:

  1. RollingInterval
  2. FlushToDiskInterval

以下特性将推迟到 0.1.1 实现:

  1. 限制每个日志文件的尺寸(默认:1GB)
  2. 日志文件序列号
  3. 移除无用日志(默认:关)

@alexinea
Copy link
Member Author

未完成任务已记录于 #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant