Initial public release of Warp.
Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
use simple_logger::manager::resolve_log_path;
|
||||
use std::path::PathBuf;
|
||||
|
||||
use uuid::Uuid;
|
||||
|
||||
pub fn relative_log_file_path_from_uuid(uuid: &Uuid) -> PathBuf {
|
||||
PathBuf::from(format!("{uuid}.log"))
|
||||
}
|
||||
|
||||
/// The path to the file where an MCP server's log gets written.
|
||||
pub fn log_file_path_from_uuid(uuid: &Uuid) -> PathBuf {
|
||||
resolve_log_path("mcp", relative_log_file_path_from_uuid(uuid))
|
||||
}
|
||||
Reference in New Issue
Block a user