 
         return formatter
     }
-    private static var global: SprigLogger
-    {
-        var logger: SprigLogger = SprigLogger(name: "sprig", appender: SprigConsoleAppender(), level: SprigLevel.INFO)
-        if let level = NSProcessInfo.processInfo().environment[SPRIG_LEVEL] {
-            if level == "10" || "TRACE".caseInsensitiveCompare(level) == NSComparisonResult.OrderedSame {
-                logger.level = SprigLevel.TRACE
-            } else if level == "20" || "DEBUG".caseInsensitiveCompare(level) == NSComparisonResult.OrderedSame {
-                logger.level = SprigLevel.TRACE
-            } else if level == "30" || "INFO".caseInsensitiveCompare(level) == NSComparisonResult.OrderedSame {
-                logger.level = SprigLevel.TRACE
-            } else if level == "40" || "WARN".caseInsensitiveCompare(level) == NSComparisonResult.OrderedSame {
-                logger.level = SprigLevel.TRACE
-            } else if level == "50" || "ERROR".caseInsensitiveCompare(level) == NSComparisonResult.OrderedSame {
-                logger.level = SprigLevel.TRACE
-            } else if level == "60" || "FATAL".caseInsensitiveCompare(level) == NSComparisonResult.OrderedSame {
-                logger.level = SprigLevel.TRACE
-            }
-        }
+    static var global: SprigGlobal = SprigGlobal()
 
-        return logger
-    }
-
-    var level: SprigLevel = SprigLevel.INFO
+    var level: SprigLevel
     var appender: SprigAppender
     let name: String
 

*/

struct SprigLogger {

    private static let SPRIG_LEVEL: String = "SPRIG_LEVEL"
    private static var isoFormatter: NSDateFormatter

        logString += SprigEntry(key: "name", value: name).description + ","
        logString += SprigEntry(key: "msg", value: "message").description
        logString += "}"

        appender.write(logString)
    }

    private static func globalLog(level: SprigLevel, entry: SprigLoggable) {

    }

    func trace(entry: SprigLoggable)
