killercup / killercup/convey

Enhance log experience

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
38
Forks
6
PR merge metrics
No merged PRs in 30d

Description

In #30, we landed initial support for being a log target. But we can go further.

Ideas:

- Add custom log macros (`trace`, `info`, `debug`, `warn`, `error`) that take a (mutable ref to an) `Output` as first param
- Behind a cargo feature called "log-macros" (or similar)
- Be compatible with [slog](https://docs.rs/slog) and support its many adapters
- Behind a cargo feature called "slog"
- Look at https://github.com/rust-lang-nursery/log/pull/296 -- structured data in log macros

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the implementation landed in #30 and the current Output API. Then compare the proposed log macros, Cargo feature boundaries, slog compatibility, and structured-data direction in rust-lang-nursery/log#296; done requires settling which of these ideas belong in the scope and defining acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.