瀏覽代碼

WindowServer+LibVT: Convert some dbgprintf() to dbg()

These kept annoying me, because these were the only two lines in the default
boot log that went unattributed.
Sergey Bugaev 5 年之前
父節點
當前提交
1671e1ac92
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Libraries/LibVT/TerminalWidget.cpp
  2. 1 1
      Services/WindowServer/main.cpp

+ 1 - 1
Libraries/LibVT/TerminalWidget.cpp

@@ -106,7 +106,7 @@ TerminalWidget::TerminalWidget(int ptm_fd, bool automatic_size_policy, RefPtr<Co
     };
     set_scroll_length(m_config->read_num_entry("Window", "ScrollLength", 4));
 
-    dbgprintf("Terminal: Load config file from %s\n", m_config->file_name().characters());
+    dbg() << "Load config file from " << m_config->file_name();
     m_cursor_blink_timer->set_interval(m_config->read_num_entry("Text",
         "CursorBlinkInterval",
         500));

+ 1 - 1
Services/WindowServer/main.cpp

@@ -111,7 +111,7 @@ int main(int, char**)
         return 1;
     }
 
-    dbgprintf("Entering WindowServer main loop.\n");
+    dbg() << "Entering WindowServer main loop";
     loop.exec();
     ASSERT_NOT_REACHED();
 }