v0.2.6-pre.002

This commit is contained in:
2026-08-20 16:51:08 +02:00
parent 927b9e4709
commit 1a57cdeef0
50 changed files with 2960 additions and 9 deletions

View File

@@ -0,0 +1,10 @@
// file: crates/ksp-app-wallet-desk/src/logging_runtime.rs
// version: 1
//! Wallet Desk Logging runtime identity helpers.
/// Creates the stable runtime identity for this Wallet Desk process launch.
pub(crate) fn launch_identity() -> ksp_core_lib::Result<ksp_logging_lib::LoggingRuntimeIdentity> {
let timestamp = format!("{}-p{}", chrono::Utc::now().format("%Y%m%d-%H%M%S%.3fZ"), std::process::id());
return ksp_logging_lib::LoggingRuntimeIdentity::new(crate::TRACING_TARGET, timestamp);
}