Moved log tag to logger.h
This commit is contained in:
@ -7,8 +7,6 @@
|
||||
#include <baresip.h>
|
||||
#include "logger.h"
|
||||
|
||||
#define LOG_TAG "Baresip Lib"
|
||||
|
||||
typedef struct baresip_context {
|
||||
JavaVM *javaVM;
|
||||
JNIEnv *env;
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
#ifndef BARESIP_LOGGER_H
|
||||
#define BARESIP_LOGGER_H
|
||||
|
||||
#define LOG_TAG "Baresip Lib"
|
||||
|
||||
#define LOGD(...) \
|
||||
if (log_level_get() < LEVEL_INFO) \
|
||||
((void)__android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__))
|
||||
|
||||
Reference in New Issue
Block a user