<commit_before>//
//  LogsSettings.swift
//  exampleWindow
//
//  Created by <NAME> on 18/01/2017.
//  Copyright © 2017 <NAME>. All rights reserved.
//

import Foundation

class LogsSettings {

    static let shared = LogsSettings()

    var overridePrint: Bool {
        didSet {
            UserDefaults.standard.set(overridePrint, forKey: "enableOverridePrint")
        }
    }
    var resetLogsStart: Bool {
        didSet {
            UserDefaults.standard.set(resetLogsStart, forKey: "resetLogsStart")
        }
    }
    var fileInfo: Bool {
        didSet {
            UserDefaults.standard.set(fileInfo, forKey: "fileInfoDsisplayed")
        }
    }
    var date: Bool {
        didSet {
            UserDefaults.standard.set(fileInfo, forKey: "dateDisplayed")
        }
    }
    var network: Bool {
        didSet {
            UserDefaults.standard.set(fileInfo, forKey: "networkLoggerEnabled")
        }
    }

    init() {
        overridePrint = UserDefaults.standard.bool2(forKey: "enableOverridePrint")<commit_msg>Updated LogSettings access level to public.<commit_after>//
//  LogsSettings.swift
//  exampleWindow
//
//  Created by <NAME> on 18/01/2017.
//  Copyright © 2017 <NAME>. All rights reserved.
//

import Foundation

public class LogsSettings {

    public static let shared = LogsSettings()

    public var overridePrint: Bool {
        didSet {
            UserDefaults.standard.set(overridePrint, forKey: "enableOverridePrint")
        }
    }
    public var resetLogsStart: Bool {
        didSet {
            UserDefaults.standard.set(resetLogsStart, forKey: "resetLogsStart")
        }
    }
    public var fileInfo: Bool {
        didSet {
            UserDefaults.standard.set(fileInfo, forKey: "fileInfoDsisplayed")
        }
    }
    public var date: Bool {
        didSet {
            UserDefaults.standard.set(fileInfo, forKey: "dateDisplayed")
        }
    }
    public var network: Bool {
        didSet {
            UserDefaults.standard.set(fileInfo, forKey: "networkLoggerEnabled")
        }
    }

    init() {
        overridePrint = UserDefaults.standard.bool2(forKey: "enableOverridePrint")
{'fraction_non_alphanumeric': 0.10116550116550116, 'fraction_numerical': 0.012121212121212121, 'mean_word_length': 2.2029850746268655, 'pattern_counts': {'":': 0, '<': 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': '7544400', 'n_tokens_mistral': 668, 'n_tokens_neox': 615, 'n_words': 135}