#include #include #include namespace mlibc { frg::stack_buffer_logger infoLogger; frg::stack_buffer_logger panicLogger; void InfoSink::operator() (const char *message) { sys_libc_log(message); } void PanicSink::operator() (const char *message) { // sys_libc_log("mlibc: Write to PanicSink"); sys_libc_log(message); sys_libc_panic(); } } // namespace mlibc