Skip to content

Commit 6341e21

Browse files
committed
AudioSourceVector logging
1 parent b11c4b6 commit 6341e21

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/AudioTools/Disk/AudioSource.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class NamePrinter : public Print {
185185
// End of line - process the accumulated line
186186
if (line_buffer.length() > 0) {
187187
line_buffer.trim();
188-
LOGI("adding '%s'", line_buffer.c_str());
188+
LOG_METHOD("adding '%s'", line_buffer.c_str());
189189
if (prefix != nullptr) {
190190
// Prepend prefix if set
191191
Str name{prefix};
@@ -352,8 +352,7 @@ class AudioSourceVector : public AudioSource, public PathNamesRegistry {
352352
FileEntry entry{pathIndex, nameStr.c_str()};
353353
files.push_back(entry);
354354

355-
LOGI("Added file: %s (total: %d, path_index: %d)", nameWithPath,
356-
files.size(), pathIndex);
355+
LOGI("file added: '%s'", nameWithPath);
357356
}
358357

359358
/// Add multiple files at once

0 commit comments

Comments
 (0)