         }
         self.init(components: components)
     }
-
+    
     public enum Component {
         case Text(String), Date(formatter: NSDateFormatter), Logger, LogLevel, Message, Function, File, Line//, Any(stringForEvent: (event: Event<M>) -> String)
         

    public init(components: [Component]) {
        self.components = components
    }

    public enum Style {
        case Default, Simple, Full
    }

        if let error = event.error {
            let errorMessage: String
            switch error {
            case let error as CustomDebugStringConvertible:
                errorMessage = error.debugDescription
            case let error as CustomStringConvertible:
                errorMessage = error.description
            default:
                errorMessage = String(error)
            }
            string += " [ERROR: \(errorMessage)]"
        }
        
        return string
    }
    
