Rockbox

Tasklist

FS#9733 - logf output long message

Attached to Project: Rockbox
Opened by Yoshihisa Uchida (Uchida) - Wednesday, 31 December 2008, 13:42 GMT
Last edited by Maurus Cuelenaere (mcuelenaere) - Wednesday, 31 December 2008, 17:01 GMT
Task Type Patches
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When the length of log data exceeds 30 bytes, logf() is output only the first 30 bytes.

log message everything is output by applying this patch file.

Log message is displayed, dividing into every 29 bytes.
When log message is divided, line lastly, “> " outputs.

But, when the log is output to the file making use of logfdump(), the log message which is divided is output, collecting to 1 lines.

eg.
logf("very long log message foo bar baz hoge fuga");
logf("short log message");

log displayed as follows:

very long log message foo bar>
baz hoge fuga
short log message

log dump file as follows:

short log message
very long log message foo bar baz hoge fuga
This task depends upon

Closed by  Maurus Cuelenaere (mcuelenaere)
Wednesday, 31 December 2008, 17:01 GMT
Reason for closing:  Accepted
Additional comments about closing:  Thanks! (in r19625)

Loading...