mirror of
https://github.com/akuker/RASCSI.git
synced 2025-08-15 08:27:34 +00:00
Updated logging
This commit is contained in:
@@ -753,7 +753,9 @@ bool CreateImage(int fd, const PbCommand& command)
|
|||||||
|
|
||||||
close(image_fd);
|
close(image_fd);
|
||||||
|
|
||||||
LOGINFO("%s", string("Created image file '" + filename + "'").c_str());
|
ostringstream msg;
|
||||||
|
msg << "Created image file '" << filename + "' with a size of " << len << " bytes";
|
||||||
|
LOGINFO("%s", msg.str().c_str());
|
||||||
|
|
||||||
return ReturnStatus(fd);
|
return ReturnStatus(fd);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user