 
 #if os(OSX)
     import Cocoa
-
+    
     public typealias QLColor = NSColor
 #elseif os(iOS) || os(tvOS)
     import UIKit
-
+    
     public typealias QLColor = UIColor
 #endif
 
+
+///  Debug error level
+private let kLogDebug : String = "Debug";
+
+///  Info error level
+private let kLogInfo : String = "Info";
+
+///  Warning error level
+private let kLogWarning : String = "Warning";
+
+///  Error error level
+private let kLogError : String = "Error";
+
 public struct QorumLogs {
+    
     /// While enabled QorumOnlineLogs does not work
     public static var enabled = false
+    
     /// 1 to 4
     public static var minimumLogLevelShown = 1
+    
     /// Change the array element with another UIColor. 0 is info gray, 5 is purple, rest are log levels
     public static var colorsForLogLevels: [QLColor] = [
         QLColor(redC: 120, greenC: 120, blueC: 120), //0

    }
}

///Detailed logs only used while debugging
public func QL1<T>(debug: T, _ file: String = __FILE__, _ function: String = __FUNCTION__, _ line: Int = __LINE__) {
    let level = 1
    let levelText = "1Debug"
    let fileExtension = file.ns.lastPathComponent.ns.pathExtension
    let filename = file.ns.lastPathComponent.ns.stringByDeletingPathExtension
    if QorumLogs.shouldPrintLine(level: level, fileName: filename) {
        let informationPart: String
        if QorumLogs.KZLinkedConsoleSupportEnabled {

        showFile = classStringWithoutPrefix
        print(ColorLog.colorizeString("QorumLogs: Only Showing: \(classStringWithoutPrefix)", colorId: 5))
    }
    
    /// Test to see if its working
    public static func test() {
        let oldDebugLevel = minimumLogLevelShown
        minimumLogLevelShown = 1
        QL1(kLogDebug)
        QL2(kLogInfo)
        QL3(kLogWarning)
        QL4(kLogError)
        minimumLogLevelShown = oldDebugLevel
    }
    
    //==========================================================================================================
    // MARK: - Private Methods
    //==========================================================================================================
    
    private static func shouldPrintLine(level level: Int, fileName: String) -> Bool {
        if !QorumLogs.enabled {
            return false
