项目介绍

coder/slog 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 MIT License 许可证,目前获得 350 个 Star、23 次 Fork。

仓库全名
coder/slog

README 摘要

slog slog is a minimal structured logging library for Go. Install Features Minimal API First class context.Context support First class testing.TB support Package slogtest/assert provides test assertion helpers Beautiful human readable logging output Prints multiline fields and errors nicely Machine readable JSON output GCP Stackdriver support Stdlib log adapter Skip caller frames with slog.Helper Encodes values as…

完整内容见 GitHub 原始 README 或本页 。

常见问题

slog 用什么语言开发?

主要使用 Go 编写,采用 MIT License 许可证,目前有 350 个 Star。

slog 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 slog 的源码?

可以直接克隆仓库:git clone https://github.com/coder/slog.git,默认分支为 main;安装与运行步骤见仓库 README。

slog 最近还在维护吗?

仓库最近一次更新为 9月19日,当前有 11 个未关闭 Issue;Star 数为 350,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Minimal structured logging library for Go

以下为仓库作者撰写的原始描述。

简要分析

热度分
405
价值分
217
活跃状态
活跃

语言占比

Go
Makefile

Release