maix::log

maix.log module

This is maix::log module of MaixCDK.
All of these elements are in namespace maix::log.

For MaixCDK developer: DO NOT edit this doc file manually, this doc is auto generated!

Module

No module

Enum

Variable

Function

error

print error log

item description
param fmt: format string
...: args

C++ defination code:

void error(const char *fmt, ...)

warn

print warning log

item description
param fmt: format string
...: args

C++ defination code:

void warn(const char *fmt, ...)

info

print info log

item description
param fmt: format string
...: args

C++ defination code:

void info(const char *fmt, ...)

debug

print debug log

item description
param fmt: format string
...: args

C++ defination code:

void debug(const char *fmt, ...)

error0

print error log, but not add '\n' at end

item description
param fmt: format string
...: args

C++ defination code:

void error0(const char *fmt, ...)

warn0

print warning log, but not add '\n' at end

item description
param fmt: format string
...: args

C++ defination code:

void warn0(const char *fmt, ...)

info0

print info log, but not add '\n' at end

item description
param fmt: format string
...: args

C++ defination code:

void info0(const char *fmt, ...)

debug0

print debug log, but not add '\n' at end

item description
param fmt: format string
...: args

C++ defination code:

void debug0(const char *fmt, ...)

print

same as printf, but recommend use this function instead of printf\nthis function will add prefix like "-- [E] " to log

item description
param fmt: format string
...: args

C++ defination code:

void print(const char *fmt, ...)

Class