Categorygithub.com/go-kita/log
repository
3.0.2
Repository: https://github.com/go-kita/log.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Language Log GoDoc Go Report Card

Translations: English | 简体中文

Log

This module provides a simple logging interface which is easy to use and implement. It also provides a usable implementation based on the log package of the Go SDK.

The following logging frameworks are planned to be adapted:

  • Uber Zap - adapt with a module named zap-log
  • logrus - adapt with a module named logrus-log

Features

  • Print message via the Print-like function family: Print,Printf,Println
  • Support key/value pairs metadata.
  • Support named loggers.
  • Support level logging.
  • Support dynamic runtime logging level control by logger names.
  • Support context.Context and extracting value from it.

Architecture

kita-log-arch-v3.png

Authors

License

Log is licensed under the MIT. See LICENSE for the full license text.