tweak log messages (#5174)
This commit is contained in:
1 parent
ef4d596885
commit
794c12443f
2 files changed
+2
-6
No files matched your search
@@ -745,7 +745,7 @@ impl Output {
|
|||||||
fn render_feature_list(&self, frame: &mut Frame<'_>, area: Rect, state: RenderState) {
|
fn render_feature_list(&self, frame: &mut Frame<'_>, area: Rect, state: RenderState) {
|
||||||
frame.render_widget(
|
frame.render_widget(
|
||||||
Paragraph::new(Line::from({
|
Paragraph::new(Line::from({
|
||||||
let mut lines = vec!["App features: ".gray(), "[".yellow()];
|
let mut lines = vec!["Features: ".gray(), "[".yellow()];
|
||||||
|
|
||||||
let feature_list: Vec<String> = state.runner.client().build.all_target_features();
|
let feature_list: Vec<String> = state.runner.client().build.all_target_features();
|
||||||
let num_features = feature_list.len();
|
let num_features = feature_list.len();
|
||||||
|
|||||||
@@ -133,11 +133,7 @@ impl DioxusRouterExt for Router<FullstackState> {
|
|||||||
|
|
||||||
for func in ServerFunction::collect() {
|
for func in ServerFunction::collect() {
|
||||||
if seen.insert(format!("{} {}", func.method(), func.path())) {
|
if seen.insert(format!("{} {}", func.method(), func.path())) {
|
||||||
tracing::info!(
|
tracing::info!("Registering: {} {}", func.method(), func.path());
|
||||||
"Registering server function: {} {}",
|
|
||||||
func.method(),
|
|
||||||
func.path()
|
|
||||||
);
|
|
||||||
|
|
||||||
self = self.route(func.path(), func.method_router())
|
self = self.route(func.path(), func.method_router())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user