T-Box Basic dev
Loading...
Searching...
No Matches
slog 函数返回值

函数返回值定义宏 function returns value define macros More...

Macros

#define SLOG_ERROR_ALLOC   -11
 申请内存失败
#define SLOG_ERROR_INTERNAL   -12
 内部错误
#define SLOG_ERROR_ALLOC_MAX   -13
 内存使用超限
#define SLOG_ERROR_PARAMETER   -14
 参数错误
#define SLOG_ERROR_NOTSUPPORT   -17
 暂不支持
#define SLOG_ERROR_CREATEFILE   -21
 创建文件失败
#define SLOG_ERROR_OPENFILE   -22
 打开文件失败
#define SLOG_ERROR_WRITEFILE   -23
 写文件失败
#define SLOG_ERROR_TOO_MANY_STYLES   -31
 风格列太多了
#define SLOG_ERROR_CONFIGFILE_NOTFOUND   -51
 找不到配置文件
#define SLOG_ERROR_CONFIGFILE_INVALID   -52
 配置文件无效

Detailed Description

函数返回值定义宏 function returns value define macros

定义了日志模块的函数返回值,包括成功、失败和错误码。