Fix LogDiagnosticsPlugin log target typo (#18534)
# Objective For the LogDiagnosticsPlugin, the log target is "bevy diagnostic" with a space; I think it may (?) be a typo intended to be "bevy_diagnostic" with an underline. I couldn't get filtering INFO level logs with work with this plugin, changing this seems to produce the expected behavior.
This commit is contained in:
parent
3945a6de3b
commit
58b8f554a1
@ -92,7 +92,7 @@ impl LogDiagnosticsPlugin {
|
|||||||
};
|
};
|
||||||
|
|
||||||
info!(
|
info!(
|
||||||
target: "bevy diagnostic",
|
target: "bevy_diagnostic",
|
||||||
// Suffix is only used for 's' or 'ms' currently,
|
// Suffix is only used for 's' or 'ms' currently,
|
||||||
// so we reserve two columns for it; however,
|
// so we reserve two columns for it; however,
|
||||||
// Do not reserve columns for the suffix in the average
|
// Do not reserve columns for the suffix in the average
|
||||||
@ -103,7 +103,7 @@ impl LogDiagnosticsPlugin {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
info!(
|
info!(
|
||||||
target: "bevy diagnostic",
|
target: "bevy_diagnostic",
|
||||||
"{path:<path_width$}: {value:>.6}{suffix:}",
|
"{path:<path_width$}: {value:>.6}{suffix:}",
|
||||||
path = diagnostic.path(),
|
path = diagnostic.path(),
|
||||||
suffix = diagnostic.suffix,
|
suffix = diagnostic.suffix,
|
||||||
|
Loading…
Reference in New Issue
Block a user