# tlog **Repository Path**: xkgo/tlog ## Basic Information - **Project Name**: tlog - **Description**: trace log - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-13 - **Last Updated**: 2025-02-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tlog # 主要特性 1. 基于 go.uber.org/zap ,一个调用完成所有初始化操作 2. 高性能 asyncfile 模式,同时支持 log rotate 3. 支持动态调整 log level,方便线上调试 4. 支持 session log (后面介绍) 5. 可以对接标准库 Logger 或者 zap Logger,用于第三方库日志输出或者二次开发 # 快速上手 参考 https://gitee.com/xkgo/tlog/blob/master/example/main.go ## 可用LogOption ## 主要API # Session log # 对接第三方库日志 ## Kafka 客户端 (github.com/Shopify/sarama) ## Pulsar 客户端 ## ZooKeeper 客户端