<commit_before>//
// Created by dar on 1/23/16.
//

#ifndef C003_LOGGING_H
#define C003_LOGGING_H

#ifdef __ANDROID__

#include <android/log.h>

#define  LOG_TAG    "SpookyTom"
#define  LOGE(...)  __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__)
#define  LOGW(...)  __android_log_print(ANDROID_LOG_WARN,LOG_TAG,__VA_ARGS__)
#define  LOGD(...)  __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
#define  LOGI(...)  __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)

#else //__ANDROID__

#define  LOGE(...)  printf(__VA_ARGS__)
#define  LOGW(...)  printf(__VA_ARGS__)
#define  LOGD(...)  printf(__VA_ARGS__)
#define  LOGI(...)  printf(__VA_ARGS__)

#endif //__ANDROID__

#endif //C003_LOGGING_H<commit_msg>LOGD now prints text only when __DEBUG__ flag is defined<commit_after>//
// Created by dar on 1/23/16.
//

#ifndef C003_LOGGING_H
#define C003_LOGGING_H

#ifdef __ANDROID__

#include <android/log.h>

#define  LOG_TAG    "SpookyTom"
#define  LOGE(...)  __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__)
#define  LOGW(...)  __android_log_print(ANDROID_LOG_WARN,LOG_TAG,__VA_ARGS__)
#ifdef __DEBUG__
#define  LOGD(...)  __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
#else //__DEBUG__
#define LOGD(...)
#endif //__DEBUG__
#define  LOGI(...)  __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)

#else //__ANDROID__

#define  LOGE(...)  printf(__VA_ARGS__)
#define  LOGW(...)  printf(__VA_ARGS__)
#define  LOGD(...)  printf(__VA_ARGS__)
#define  LOGI(...)  printf(__VA_ARGS__)

#endif //__ANDROID__

#endif //C003_LOGGING_H
{'fraction_non_alphanumeric': 0.140139505389981, 'fraction_numerical': 0.017755231452124286, 'mean_word_length': 5.0926640926640925, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2302269', 'n_tokens_mistral': 672, 'n_tokens_neox': 653, 'n_words': 110}