fixed log

This commit is contained in:
s5260822 2025-03-22 21:19:08 +01:00
parent 0ef4ea52a8
commit 86f681ebbb

View file

@ -108,7 +108,7 @@ public class Speaker_MongoDB_Impl extends Speaker implements MongoOperations<Spe
// Write the decoded byte array to the file
try (FileOutputStream fos = new FileOutputStream(outputFile)) {
fos.write(imageBytes);
System.out.println("PNG file has been saved successfully.");
Logger.debug("PNG file has been saved successfully.");
} catch (IOException e) {
Logger.error("Failed to save member PNG file.");
Logger.error(e.getMessage());