mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-05 20:47:46 +08:00
fix: update log file naming convention to include 'OrbbecSDK' prefix
This commit is contained in:
@@ -51,7 +51,7 @@ std::string makeDefaultSdkLogFileName() {
|
||||
localtime_r(&now_time, &tm);
|
||||
|
||||
std::ostringstream file_name;
|
||||
file_name << std::put_time(&tm, "%Y%m%d_%H%M%S") << ".log";
|
||||
file_name << "OrbbecSDK_" << std::put_time(&tm, "%Y%m%d_%H%M%S") << ".log";
|
||||
return file_name.str();
|
||||
}
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user