2015-04-22 01:31:31 +08:00
|
|
|
#ifndef __LOG_H
|
|
|
|
#define __LOG_H
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#define LOG_BUFFER_SIZE 4096
|
|
|
|
|
2015-08-02 11:33:12 +08:00
|
|
|
void lognonl_va(const char *fmt, va_list args);
|
|
|
|
void lognonl(const char *fmt, ...);
|
|
|
|
|
2015-04-22 01:31:31 +08:00
|
|
|
void log_va(const char *fmt, va_list args);
|
|
|
|
void log(const char *fmt, ...);
|
|
|
|
|
|
|
|
void log_get(char *outbuf);
|
2015-08-28 16:03:32 +08:00
|
|
|
void log_clear(void);
|
2015-04-22 01:31:31 +08:00
|
|
|
|
|
|
|
#endif /* __LOG_H */
|