--- nono/lib/mainapp.h 2026/04/29 17:04:51 1.1.1.7 +++ nono/lib/mainapp.h 2026/04/29 17:04:54 1.1.1.8 @@ -35,6 +35,12 @@ class MainApp // 現在の VM が指定の feature を持っているか? bool HasVMFeature(vmf_t flag) const; + // ログレベルを設定する。 + static bool SetLogopt(const std::vector&, std::string *errmsg); + + // ログ名の一覧を表示する + static std::vector GetLogNames(); + public: // -A: ホストファイル名 (とりあえず) const char *host_file {}; @@ -97,6 +103,12 @@ class MainApp // -L オプションを処理する bool ParseLogopt(); + // ログレベル1つを設定する。 + static bool SetLogopt1(const std::string&, std::string *errmsg); + + // コンパイルされている host netdriver の一覧を表示 + void ShowHostnet() const; + // CLI/GUI 区別 bool IsCLI() const { return is_cli; } bool IsGUI() const { return !is_cli; }