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
0ab477e266
commit
c5aca5bca3
@ -92,7 +92,7 @@ impl LogDiagnosticsPlugin {
|
||||
};
|
||||
|
||||
info!(
|
||||
target: "bevy diagnostic",
|
||||
target: "bevy_diagnostic",
|
||||
// Suffix is only used for 's' or 'ms' currently,
|
||||
// so we reserve two columns for it; however,
|
||||
// Do not reserve columns for the suffix in the average
|
||||
@ -103,7 +103,7 @@ impl LogDiagnosticsPlugin {
|
||||
);
|
||||
} else {
|
||||
info!(
|
||||
target: "bevy diagnostic",
|
||||
target: "bevy_diagnostic",
|
||||
"{path:<path_width$}: {value:>.6}{suffix:}",
|
||||
path = diagnostic.path(),
|
||||
suffix = diagnostic.suffix,
|
||||
|
Loading…
Reference in New Issue
Block a user