     /**
         Prepares a batch of message to be written by formatting them and then writes the batch to the log file.
     
-        - Parameter logLevel: The log level for the batch of messages.
+        - Parameter logLevel: The log level for the batch of messages (_LOGLEVEL).
         - Parameter timestamp: The time at which the logger was called to process a logging event.
         - Parameter messages: The unformatted messages to log.
     */
-    private func _formatAndWrite(logLevel: LogLevelTypes, timestamp: NSDate, messages: [String]) {
+    private func _formatAndWrite(logLevel: String, timestamp: NSDate, messages: [String]) {
         /*EXPECTED FORMAT
         INFO:01/23/16 13:45:123456 PDT
         >this is the first in the batch

        - Parameter filesToPurge: a list of file names to purge, usually provided by the `getLogs()` function. All logs are purged if nil is passed
    */
    func purgeLogs(filesToPurge: [String]?) {
        var files:[String]?
        if filesToPurge == nil {
            do {

                        fatalError("SWIFTLOGGER failed getting log directory due to: \(error)")
                    } else {
                        debugPrint("SWIFTLOGGER", "no logging will occur, due to the failure above.")
                        self.loggingIsActive = false
                    }
                    return
                }
