diff options
author | Jaehyun Kim <jeik01.kim@samsung.com> | 2020-10-16 16:51:48 +0900 |
---|---|---|
committer | Jaehyun Kim <jeik01.kim@samsung.com> | 2020-10-16 16:53:09 +0900 |
commit | 968835a6331514c865a8a471cc6b055fcdd1f687 (patch) | |
tree | 803e805155a95339e56b363bca92aee92873d128 /include | |
parent | b2c0ac0bd56e8070a05b7a7328fd611536c8794a (diff) | |
download | connman-968835a6331514c865a8a471cc6b055fcdd1f687.tar.gz connman-968835a6331514c865a8a471cc6b055fcdd1f687.tar.bz2 connman-968835a6331514c865a8a471cc6b055fcdd1f687.zip |
Fix an issue where the log option is not applied properly
Change-Id: Ibb5305175a1987d74f0a24ba413a664940233e76
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/log.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h index 7687ed0b..9403633d 100755 --- a/include/log.h +++ b/include/log.h @@ -22,6 +22,10 @@ #ifndef __CONNMAN_LOG_H #define __CONNMAN_LOG_H +#if defined TIZEN_EXT +#include <stdbool.h> +#endif + #ifdef __cplusplus extern "C" { #endif @@ -86,6 +90,14 @@ struct connman_debug_desc { __FILE__, __FUNCTION__ , ## arg); \ } while (0) +#if defined TIZEN_EXT +#define simplified_log get_simple_log_option() +bool get_simple_log_option(void); +void set_simple_log_option(bool option); +void set_dlog_logging_option(bool option); +void set_file_logging_option(bool option); +#endif + #ifdef __cplusplus } #endif |