boost 工具箱
graph图形httputilHTTP工具middleware中间件misc杂项工具moduleModule工具plugin插件retry重试singleflightSingleFlighttypes扩展的数据类型validator校验器version程序版本xcmd命令行/ENV参数xcompress解压缩器xcontainer容器xconv内置类型转换辅助工具xcopy深拷贝xcrypto加密xchanUnbounded chan with ring bufferxdebugDebugxencoding编码解码器xerrorerror wrapperxhashhash算法xio异步ioxipip/port辅助函数xmapmap辅助函数xmathmath辅助函数xos系统辅助函数xpanicpanic辅助函数xpoolpool辅助函数xproccommand辅助函数xrand随机辅助函数xslice切片辅助函数xstrings字符串辅助函数xsync同步辅助函数xtestxtimetime辅助函数z编译期辅助函数
通过 boost.InstallLogger 来设置自定义的 logger
自定义的 logger 需要实现以下接口
type Logger interface {
Debug(string)
Info(string)
Warn(string)
Error(string)
Fatal(string)
}