📄 logmsg.c
字号:
#include <cfg/crt.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdarg.h>
#include "logmsg.h"
void LogMsg(u_int type, CONST char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
if (type & LOG_ENABLE) {
vfprintf(stdout, fmt, ap);
}
va_end(ap);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -