Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> devel >> golang-go.uber-zap-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-go.uber-zap  ]

套件: golang-go.uber-zap-dev (1.7.1+git20171031.f85c78b-5)

Blazing fast, structured, leveled logging in Go.

Package zap provides fast, structured, leveled logging.

For applications that log in the hot path, reflection-based serialization and string formatting are prohibitively expensive, they're CPU-intensive and make many small allocations. Put differently, using json.Marshal and fmt.Fprintf to log tons of interface{} makes your application slow.

Zap takes a different approach. It includes a reflection-free, zero-allocation JSON encoder, and the base Logger strives to avoid serialization overhead and allocations wherever possible. By building the high-level SugaredLogger on that foundation, zap lets users choose when they need to count every allocation and when they'd prefer a more familiar, loosely typed API.

其他與 golang-go.uber-zap-dev 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 golang-go.uber-zap-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 74.3 kB540 kB [文件列表]