+
Skip to content

pellared/olog

Repository files navigation

olog - OpenTelemetry Logging Facade

Go Reference Keep a Changelog go.mod LICENSE Go Report Card Codecov

Star this repository if you find it valuable and worth maintaining.

👁 Watch this repository to get notified about new releases, issues, etc.

Description

The olog package provides an ergonomic frontend API for OpenTelemetry structured logging.

It is designed to offer a more user-friendly interface while using the OpenTelemetry Logs API as the backend.

It addresses the concerns raised in opentelemetry-specification#4661.

Contributing

Feel free to create an issue, join the discussions, or propose a pull request.

Please follow the Code of Conduct.

This module follows several key design principles:

  1. Ergonomic API: Provides simple methods that are easy to use and understand
  2. Performance First: Includes Enabled() checks and optimizations to minimize overhead
  3. Structured Logging: Emphasizes key-value pairs over string formatting
  4. Compatibility: Uses OpenTelemetry Logs API as the backend for full compatibility
  5. Composability: Supports logger composition through With()
  6. Familiar Patterns: Similar to slog design patterns that Go developers already know

License

olog is licensed under the terms of the MIT license.

About

OpenTelemetry Logging Facade

Resources

License

Code of conduct

Stars

Watchers

Forks

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载