mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 20:24:39 +00:00
18 lines
311 B
C
18 lines
311 B
C
#ifndef __NB_LOG_H__
|
|
#define __NB_LOG_H__
|
|
|
|
#include <nb_macro.h>
|
|
|
|
/* External library */
|
|
|
|
/* NishBox */
|
|
|
|
/* Standard */
|
|
|
|
void nb_log(const char* fmt, ...);
|
|
|
|
#define NB_FORMAT_LOG(fmt, arg...) nb_log("%s: " fmt "\n", __FUNCTION_NAME__, arg)
|
|
#define NB_LOG(fmt) nb_log("%s: " fmt "\n", __FUNCTION_NAME__)
|
|
|
|
#endif
|