blob: 578800d4cee7fe16684e4f793a7b44a610235bd2 [file] [log] [blame]
#ifndef __LYNQ_DEFLOG_H__
#define __LYNQ_DEFLOG_H__
#include "liblog.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef USER_LOG_TAG
#define LYVERBLOG(X...) lynq_log_global_output(LOG_VERBOSE,X)
#define LYERRLOG(X...) lynq_log_global_output(LOG_ERROR,X)
#define LYWARNLOG(X...) lynq_log_global_output(LOG_WARNING,X)
#define LYINFLOG(X...) lynq_log_global_output(LOG_INFO,X)
#define LYDBGLOG(X...) lynq_log_global_output(LOG_DEBUG,X)
#define LYLOGSET(a) lynq_log_configuration_set(USER_LOG_TAG,a)
#define LYLOGEINIT(Y) lynq_log_configuration_init(Y)
#else
#define LYVERBLOG(X...)
#define LYERRLOG(X...)
#define LYWARNLOG(X...)
#define LYINFLOG(X...)
#define LYDBGLOG(X...)
#define LYLOGSET(a)
#define LYLOGEINIT(Y)
#endif
#ifdef __cplusplus
}
#endif
#endif //__LYNQ_DEFLOG_H__