通用高性能日志类,可保存到文件或数据库,采用生产者消费者双缓冲模式高性能读写日志,只对生产者加锁,消费者不需要锁,批量写入日志,分Error、Warn、Info、Debug4种日志,采用抽象工厂模式加载写日志的类,可设置写日志的等级,比如可以不保存调试的日志,或只保存异常日志
License
ihambert/KLog
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
通用高性能日志类,可保存到文件或数据库,采用生产者消费者双缓冲模式高性能读写日志,只对生产者加锁,消费者不需要锁,批量写入日志,分Error、Warn、Info、Debug4种日志,采用抽象工厂模式加载写日志的类,可设置写日志的等级,比如可以不保存调试的日志,或只保存异常日志
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published