b.liu | 4e243dc | 2023-11-27 11:20:00 +0800 | [diff] [blame^] | 1 | #include "liblog.h" |
| 2 | #include "mbtk_type.h" |
b.liu | 5fa9e77 | 2023-11-23 18:00:55 +0800 | [diff] [blame] | 3 | |
| 4 | |
| 5 | void lynq_log_configuration_init(const char *log_name) |
| 6 | { |
| 7 | UNUSED(log_name); |
| 8 | |
| 9 | |
| 10 | } |
| 11 | |
| 12 | void lynq_log_global_output(log_level_enum Level,const char *format,...) |
| 13 | { |
| 14 | UNUSED(Level); |
| 15 | UNUSED(format); |
| 16 | |
| 17 | |
| 18 | } |
| 19 | |
| 20 | int lynq_syslog_set_file_size(int value) |
| 21 | { |
| 22 | UNUSED(value); |
| 23 | |
| 24 | return 0; |
| 25 | } |
| 26 | |
| 27 | int lynq_syslog_get_file_size(void) |
| 28 | { |
| 29 | |
| 30 | return -1; |
| 31 | } |
| 32 | |
| 33 | int lynq_syslog_set_file_rotate(int value) |
| 34 | { |
| 35 | UNUSED(value); |
| 36 | |
| 37 | return 0; |
| 38 | } |
| 39 | |
| 40 | int lynq_syslog_get_file_rotate(void) |
| 41 | { |
| 42 | |
| 43 | return 0; |
| 44 | } |
| 45 | |
| 46 | int lynq_set_log_level(const char * module_name, log_level_enum level) |
| 47 | { |
| 48 | UNUSED(module_name); |
| 49 | UNUSED(level); |
| 50 | |
| 51 | |
| 52 | return 0; |
| 53 | } |
| 54 | |
| 55 | int lynq_get_log_level(const char * module_name, log_level_enum *level) |
| 56 | { |
| 57 | UNUSED(module_name); |
| 58 | UNUSED(level); |
| 59 | |
| 60 | |
| 61 | return 0; |
| 62 | } |
| 63 | |
| 64 | int lynq_set_special_log_level(const char * exe_name, const char * module_name, log_level_enum level) |
| 65 | { |
| 66 | UNUSED(exe_name); |
| 67 | UNUSED(module_name); |
| 68 | UNUSED(level); |
| 69 | |
| 70 | |
| 71 | return 0; |
| 72 | } |
| 73 | |
| 74 | int lynq_get_special_log_level(const char * exe_name, const char * module_name, log_level_enum *level) |
| 75 | { |
| 76 | UNUSED(exe_name); |
| 77 | UNUSED(module_name); |
| 78 | UNUSED(level); |
| 79 | |
| 80 | |
| 81 | return 0; |
| 82 | } |
| 83 | |
| 84 | int lynq_notify_recalc_log_level(pid_t pid) |
| 85 | { |
| 86 | UNUSED(pid); |
| 87 | |
| 88 | return 0; |
| 89 | } |
| 90 | |
| 91 | void lynq_log_debug(const char *format,...) |
| 92 | { |
| 93 | UNUSED(format); |
| 94 | |
| 95 | |
| 96 | } |
| 97 | |
| 98 | void lynq_log_info(const char *format,...) |
| 99 | { |
| 100 | UNUSED(format); |
| 101 | |
| 102 | |
| 103 | } |
| 104 | |
| 105 | void lynq_log_warning(const char *format,...) |
| 106 | { |
| 107 | UNUSED(format); |
| 108 | |
| 109 | |
| 110 | } |
| 111 | |
| 112 | void lynq_log_error(const char *format,...) |
| 113 | { |
| 114 | UNUSED(format); |
| 115 | |
| 116 | |
| 117 | } |
| 118 | |
| 119 | void lynq_log_verbose(const char *format,...) |
| 120 | { |
| 121 | UNUSED(format); |
| 122 | |
| 123 | |
| 124 | } |