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 13:37:46 +08:00
|
|
|
void log_clear();
|
2015-04-22 01:31:31 +08:00
|
|
|
|
|
|
|
#endif /* __LOG_H */
|