<commit_before>//
//  AKALog.h
//  AKAControls
//
//  Created by <NAME> on 18.03.15.
//  Copyright (c) 2015 AKA Sarl. All rights reserved.
//

#import <Foundation/Foundation.h>

// Implementation notes: do/while to make it a statement requiring a semicolon; ## to remove the
// preceeding comma if no variadic args are given.
#define AKALogLevel(level, format, ...)\
    do{ NSString* msg = [level stringByAppendingString:[NSString stringWithFormat:(format),##__VA_ARGS__]];\
        NSLog(@"%@",msg); } while(0)

#define AKALogDebug(format, ...)  AKALogLevel(@"DEBUG", (format),##__VA_ARGS__)
#define AKALogInfo(format, ...)   AKALogLevel(@"INFO",  (format),##__VA_ARGS__)
#define AKALogWarn(format, ...)   AKALogLevel(@"WARN",  (format), ##__VA_ARGS__)
#define AKALogError(format, ...)  AKALogLevel(@"ERROR", (format), ##__VA_ARGS__)

@interface AKALog : NSObject

@end<commit_msg>AKACommons: AKALog-fixed missing space after level<commit_after>//
//  AKALog.h
//  AKAControls
//
//  Created by <NAME> on 18.03.15.
//  Copyright (c) 2015 AKA Sarl. All rights reserved.
//

#import <Foundation/Foundation.h>

// Implementation notes: do/while to make it a statement requiring a semicolon; ## to remove the
// preceeding comma if no variadic args are given.
#define AKALogLevel(level, format, ...)\
    do{ NSString* msg = [[level stringByAppendingString:@": "] stringByAppendingString:[NSString stringWithFormat:(format),##__VA_ARGS__]];\
        NSLog(@"%@",msg); } while(0)

#define AKALogDebug(format, ...)  AKALogLevel(@"DEBUG", (format),##__VA_ARGS__)
#define AKALogInfo(format, ...)   AKALogLevel(@"INFO",  (format),##__VA_ARGS__)
#define AKALogWarn(format, ...)   AKALogLevel(@"WARN",  (format), ##__VA_ARGS__)
#define AKALogError(format, ...)  AKALogLevel(@"ERROR", (format), ##__VA_ARGS__)

@interface AKALog : NSObject

@end
{'fraction_non_alphanumeric': 0.17275204359673024, 'fraction_numerical': 0.011989100817438692, 'mean_word_length': 4.480597014925373, 'pattern_counts': {'":': 1, '<': 7, '<?xml version=': 0, '>': 7, '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': '1751915', 'n_tokens_mistral': 693, 'n_tokens_neox': 619, 'n_words': 151}