summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-10-23 01:48:47 +0800
committerGrissiom <[email protected]>2013-10-23 01:48:47 +0800
commita391e0a89307258b54e2599368963ce95fa7e7d3 (patch)
treedb2cd3e4f7fbf74a11216829ffb0fe9501d030cd /components
parent0feefc03b6008301a19a430427390cc9c44decf8 (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