     
     func off() -> SocketIOEventHandler {
         #if DEBUG
-            println("--- event handler")
-            println("Remove all events")
+            println("--- \(SocketIO.name): Event handler")
+            println("remove all events")
         #endif
         if (activeEvents.count > 0) {
             // Remove all events

        // Call current callback
        if let currentCallback = activeEvents[event] {
            #if DEBUG
                println("--- event handler")
                println("Call event: \"\(event)\"")
            #endif
            currentCallback(SocketIOArg.Message(message: message))
        }
        else {
            #if DEBUG
                println("--- event handler")
                println("No events")
            #endif
        }
    }

    
    func onAny(callback: SocketIOCallback) -> SocketIOEventHandler {
        #if DEBUG
            println("--- \(SocketIO.name): Event handler")
            println("append global event")
        #endif
        // Set new callback
        globalEvents.append(callback)
