mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Flush stdio to prevent buffering multiple debugging messages when redirecting output to file.
This commit is contained in:
@@ -21,6 +21,7 @@ local function LvDEBUG(lv, ...)
|
||||
android.LOGI("#"..line)
|
||||
else
|
||||
print("#"..line)
|
||||
io.flush()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user