tabby/rules/do-not-use-logkit-crate.yml
Meng Zhang b7d2cf6044
feat(webserver): use logkit to simplify logging to db for background jobs. (#2497)
* switch to log crate for dblogger

* fix

* make fix

* update
2024-06-25 14:01:37 +08:00

8 lines
293 B
YAML

id: do-not-use-logkit-crate
message: Don't use logkit crate with use statement to avoid conflicts with the tracing crate. logkit crate is only used for background job logging to enrich the jobs output in admin UI.
severity: error
language: rust
files:
- ./**
rule:
pattern: use logkit::$$$;