• G
    log_trace: add a in-mem-log example · a391e0a8
    Grissiom 提交于
    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.
    a391e0a8
memlog.c 1.2 KB