     func err(message: String, client: SocketLogClient, altType: String?, args: AnyObject...)
 }
 
-extension SocketLogger {
-    public func log(message: String, client: SocketLogClient, altType: String?, args: AnyObject...) {
+public extension SocketLogger {
+    func log(message: String, client: SocketLogClient, altType: String?, args: AnyObject...) {
         if !log {
             return
         }

}

struct DefaultSocketLogger: SocketLogger {
    var log: Bool
}

        NSLog("%@: %@", altType ?? client.logType, replaced)
    }
    
    func err(message: String, client: SocketLogClient, altType: String?, args: AnyObject...) {
        if !log {
            return
        }
