<commit_before>//
//  Logging.swift
//  MyLogging
//
//  Created by Sabarish on 9/14/17.
//  Copyright © 2017 IBM. All rights reserved.
//

import Foundation

public class MyLog {
    private var isDebug: Bool!
    
    //2.
    public init() {
        self.isDebug = false
    }
    
    //3.
    public func setup(isDebug: Bool) {
        self.isDebug = isDebug
        print("Project is in Debug mode: \(isDebug)")
    }
    
    //4.
    public func YPrint<T>(value: T) {
        if self.isDebug == true {
            print(value)
        } else {
            //Do any stuff for production mode
        }
    }
}
<commit_msg>yPrint method name changed to myPrint<commit_after>//
//  Logging.swift
//  MyLogging
//
//  Created by Sabarish on 9/14/17.
//  Copyright © 2017 IBM. All rights reserved.
//

import Foundation

public class MyLog {
    private var isDebug: Bool!
    
    //2.
    public init() {
        self.isDebug = false
    }
    
    //3.
    public func setup(isDebug: Bool) {
        self.isDebug = isDebug
        print("Project is in Debug mode: \(isDebug)")
    }
    
    //4.
    public func myPrint<T>(value: T) {
        if self.isDebug == true {
            print(value)
        } else {
            //Do any stuff for production mode
        }
    }
}

{'fraction_non_alphanumeric': 0.11847233047544817, 'fraction_numerical': 0.018706157443491817, 'mean_word_length': 1.568, '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': '6923507', 'n_tokens_mistral': 434, 'n_tokens_neox': 413, 'n_words': 121}