diff options
Diffstat (limited to 'libcutils/klog.c')
-rw-r--r-- | libcutils/klog.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcutils/klog.c b/libcutils/klog.c index d3c40df..fbb7b72 100644 --- a/libcutils/klog.c +++ b/libcutils/klog.c @@ -28,6 +28,10 @@ static int klog_fd = -1; static int klog_level = KLOG_DEFAULT_LEVEL; +int klog_get_level(void) { + return klog_level; +} + void klog_set_level(int level) { klog_level = level; } |