summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangchul Lee <sc11.lee@samsung.com>2017-09-14 16:58:50 +0900
committerSangchul Lee <sc11.lee@samsung.com>2017-09-18 15:04:00 +0900
commitff7d51218fd11931ce86fd9c012acda601599ccc (patch)
treedfaa0b79cfc54fc5a76c9b6e74358e0c98be682a
parente245d8548632c80b46799ea985d4e57075e666fb (diff)
downloadlibmm-common-ff7d51218fd11931ce86fd9c012acda601599ccc.tar.gz
libmm-common-ff7d51218fd11931ce86fd9c012acda601599ccc.tar.bz2
libmm-common-ff7d51218fd11931ce86fd9c012acda601599ccc.zip
[Version] 0.2.107 [Issue Type] Clean-up Change-Id: I31a89516ff760e5063976be256e0ce6ec010d141 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
-rw-r--r--include/mm_log.h59
-rw-r--r--packaging/libmm-common-0.2.55.tar.gzbin3708714 -> 0 bytes
-rw-r--r--packaging/libmm-common.spec2
3 files changed, 3 insertions, 58 deletions
diff --git a/include/mm_log.h b/include/mm_log.h
index 52d6e05..96fec69 100644
--- a/include/mm_log.h
+++ b/include/mm_log.h
@@ -23,24 +23,13 @@
#ifndef __MM_LOG_H__
#define __MM_LOG_H__
+#include <dlog.h>
+
#ifdef __cplusplus
extern "C" {
#endif
/**
- * Enumerations for log direction
- */
-typedef enum {
- LOG_DIRECTION_NONE = 0,
- LOG_DIRECTION_CONSOLE,
- LOG_DIRECTION_FILE,
- LOG_DIRECTION_SYSLOG,
- LOG_DIRECTION_SYSTEM,
- LOG_DIRECTION_VIEWER,
- LOG_DIRECTION_CNT,
-} log_direction_t;
-
-/**
* Enumerations for log owner
*/
typedef enum {
@@ -67,56 +56,12 @@ typedef enum {
LOG_ALL = 0xFFFFFFFF,
} log_owner_t;
-/**
- * Enumerations for log class
- */
-typedef enum {
- LOG_CLASS_NONE = 0x00,
- LOG_CLASS_VERBOSE = 0x01,
- LOG_CLASS_DEBUG = 0x02,
- LOG_CLASS_INFO = 0x04,
- LOG_CLASS_WARNING = 0x08,
- LOG_CLASS_ERR = 0x10,
- LOG_CLASS_CRITICAL = 0x20,
- LOG_CLASS_ALL = 0xFF,
-} log_class_t;
-
-#if defined(MM_DEBUG_FLAG)
-/**
- * This function print log.
- *
- * @param owner [in] owner of log message.
- * @param class [in] class of log message.
- * @param msg [in] message to print.
- *
- * @remark Print log message. Similar to printf except owner and class.
- * @see log_print_rel
- */
-#define log_print_dbg(owner, class, msg, args...) log_print_rel(owner, class, msg, ##args)
-
-/**
- * This function assert condition.
- *
- * @param condition [in] condition for check
- *
- * @remark If condition is not true, system is aborted. Same to assert function.
- * @see log_assert_rel
- */
-#define log_assert_dbg(condition) log_assert_rel((condition))
-
-#else
-#define log_print_dbg(owner, class, msg, args...)
-#define log_assert_dbg(condition)
-#endif
-
#define _SLOG(class, tag, format, arg...) \
SLOG(class, tag, format, ##arg)
#define _SECURE_SLOG(class, tag, format, arg...) \
SECURE_SLOG(class, tag, format, ##arg)
-#include <dlog.h>
-
#define mm_log_by_owner(owner, class, msg, args...) \
do { \
switch (owner) { \
diff --git a/packaging/libmm-common-0.2.55.tar.gz b/packaging/libmm-common-0.2.55.tar.gz
deleted file mode 100644
index 75c09c3..0000000
--- a/packaging/libmm-common-0.2.55.tar.gz
+++ /dev/null
Binary files differ
diff --git a/packaging/libmm-common.spec b/packaging/libmm-common.spec
index 4293573..0fd30cb 100644
--- a/packaging/libmm-common.spec
+++ b/packaging/libmm-common.spec
@@ -1,6 +1,6 @@
Name: libmm-common
Summary: Multimedia Framework Common Lib
-Version: 0.2.106
+Version: 0.2.107
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0