mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-16 15:04:05 +00:00
Add the category name back to FLOG output in Rust
This went missing.
This commit is contained in:
parent
34a4c7de7f
commit
99c6c76c5e
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ macro_rules! FLOG {
|
||||||
if crate::flog::categories::$category.enabled.load(std::sync::atomic::Ordering::Relaxed) {
|
if crate::flog::categories::$category.enabled.load(std::sync::atomic::Ordering::Relaxed) {
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
use crate::flog::{FloggableDisplay, FloggableDebug};
|
use crate::flog::{FloggableDisplay, FloggableDebug};
|
||||||
let mut vs = Vec::new();
|
let mut vs = vec![format!("{}:", crate::flog::categories::$category.name)];
|
||||||
$(
|
$(
|
||||||
{
|
{
|
||||||
vs.push($elem.to_flog_str())
|
vs.push($elem.to_flog_str())
|
||||||
|
|
Loading…
Reference in a new issue