summaryrefslogtreecommitdiff
path: root/firmware/export/logdiskf.h (follow)
Commit message (Collapse)AuthorAge
* logdiskf.h - fix wrong cpp conditionalsMarcin Bukat2012-10-22
| | | | Change-Id: I6721227938955915fede32b6748802f7abf4b391
* Remove copy/pasted preprocessor defines that shouldn't have been included.Michael Giacomelli2012-08-06
| | | | | | | | Also, add dummy defines for application targets so that ERRORF, etc map to DEBUGF instead of a compile error and add a new line at the end of logf.c. Change-Id: Ie7c5bc3397a853af619e810defce6123114e7a51
* Introduce logging to disk feature into rockbox.Michael Giacomelli2012-08-07
Logs information, errors, etc to disk using the register_storage_idle_func mechanism to write to the disk when available. Currently, this is disabled in normal builds, but can be enabled by adding ROCKBOX_HAS_LOGDISKF to the config file. By default, it uses a 2KB buffer and drops text if the buffer overflows. The system includes a simple warning level mechanism that can be used to by default exclude non-serious errors from logging on release builds. Change-Id: I0a3d186a93625c7c93dae37b993a0d37e5a3a925 Reviewed-on: http://gerrit.rockbox.org/288 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info> Tested-by: Michael Giacomelli <mgiacomelli@gmail.com> Reviewed-by: Michael Giacomelli <mgiacomelli@gmail.com>