v0.2.5-pre.010.fix.001
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-logging-lib/src/identity.rs
|
||||
// version: 1
|
||||
// version: 2
|
||||
|
||||
//! Stable runtime identity used to separate persistent file outputs between application launches.
|
||||
|
||||
@@ -41,6 +41,7 @@ impl LoggingRuntimeIdentity {
|
||||
return self.launch_timestamp.as_str();
|
||||
}
|
||||
|
||||
/// Executes the crate-internal file name prefix operation for `LoggingRuntimeIdentity`.
|
||||
pub(crate) fn file_name_prefix(&self, configured_prefix: &str) -> std::string::String {
|
||||
return format!("{}.{}.{}", self.application_id, self.launch_timestamp, configured_prefix);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user