mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 01:08:28 +02:00
Add log
This commit is contained in:
@@ -7,7 +7,7 @@ use std::str::FromStr;
|
|||||||
use crate::client::AutoReflectionClient;
|
use crate::client::AutoReflectionClient;
|
||||||
use anyhow::anyhow;
|
use anyhow::anyhow;
|
||||||
use async_recursion::async_recursion;
|
use async_recursion::async_recursion;
|
||||||
use log::{debug, warn};
|
use log::{debug, info, warn};
|
||||||
use prost::Message;
|
use prost::Message;
|
||||||
use prost_reflect::{DescriptorPool, MethodDescriptor};
|
use prost_reflect::{DescriptorPool, MethodDescriptor};
|
||||||
use prost_types::{FileDescriptorProto, FileDescriptorSet};
|
use prost_types::{FileDescriptorProto, FileDescriptorSet};
|
||||||
@@ -89,6 +89,8 @@ pub async fn fill_pool_from_files(
|
|||||||
args.push(p);
|
args.push(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
info!("Invoking protoc with {}", args.join("\n "));
|
||||||
|
|
||||||
let out = app_handle
|
let out = app_handle
|
||||||
.shell()
|
.shell()
|
||||||
.sidecar("yaakprotoc")
|
.sidecar("yaakprotoc")
|
||||||
|
|||||||
Reference in New Issue
Block a user