diff options
| author | Grissiom <[email protected]> | 2013-10-23 01:48:47 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2013-10-23 01:48:47 +0800 |
| commit | a391e0a89307258b54e2599368963ce95fa7e7d3 (patch) | |
| tree | db2cd3e4f7fbf74a11216829ffb0fe9501d030cd /components | |
| parent | 0feefc03b6008301a19a430427390cc9c44decf8 (diff) | |
log_trace: add a in-mem-log example
After `log_trace_init()`, call `memlog_init`. It then turn the logtrace
into a "in-memory" logger which will buffer all the log in memory. It
also set a hook in idle to flush all the log into console. One may
create an other thread to flush the logs but idle might be the simplest
place to go.
Diffstat (limited to 'components')
0 files changed, 0 insertions, 0 deletions
