linksplatform / linksplatform/doublets-rs

Add log level resetting for FFI

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

FFI:Log Issue:Middle
Dominant language
Rust
Stars
6
Forks
0
Avg merge
1h 37m
Merged PRs (30d)
1

Description

Waiting for the next version of tracing, but will use tracing_subscriber::reload::Handle to hold a global (lazy_static) handle to the level. Just can't do this currently because of issues with generic types in statics, and don't want to create a holder object for it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the next tracing version and the current FFI logging setup. Review how tracing_subscriber::reload::Handle and lazy_static could hold the log level despite the generic-type limitation. Done means the FFI can reset the logging level through the intended global handle.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
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.