universal7885: libFileIO: Log write data too

This commit is contained in:
roynatech2544 2022-10-07 10:58:48 +09:00
commit e2254ff189

View file

@ -34,7 +34,7 @@ int readline(const char *path) {
void writeline(const char *path, const std::string& data) {
std::ofstream file;
file.open(path);
ALOGD("%s: Opening %s", __func__, path);
ALOGD("%s: Opening %s, will write '%s'", __func__, path, data.c_str());
if (file.is_open()) {
file << data;
file.close();