package
0.4.3
Repository: https://github.com/a11en4sec/crawler.git
Documentation: pkg.go.dev

# Functions

DefaultEncoder 统一用json.
DefaultEncoderConfig 默认的一些配置.
DefaultLumberjackLogger 1.不会自动清理backup 2.每200mb压缩一次,不按时间rotate.
No description provided by the author
NewFilePlugin Lumberjack logger虽然持有File但没有暴露sync方法,所以没办法利用zap的sync特性 所以额外返回一个closer,需要保证在进程退出前close以保证写入的内容可以全部刷到到磁盘.
NewLogger NOTE: 一些option选项是无法覆盖的.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author