                 req.timeout = 30
                 req.maxAttempts = 1
 
-                 VK.Log.put("LongPool", "Send with \(req)")
+                 VK.Log.put("LongPoll", "Send with \(req)")
                 req.send(
                     onSuccess: {response in
-                         VK.Log.put("LongPool", "Received response with \(req)")
+                         VK.Log.put("LongPoll", "Received response with \(req)")
 
                         ts = response["ts"].stringValue
                         parse(response["updates"].array)

        public static func start() {
            lpQueue.async {
                guard VK.state == .authorized && !isActive else {
                     VK.Log.put("LongPool", "User is not authorized or LongPool is active yet")
                    return}
                isActive = true
                keyIsExpired = true
                getServer()
                observer = LPObserver()
                 VK.Log.put("LongPool", "Stared")
            }
        }





private var lpQueue = DispatchQueue(label: "VKLongPollQueue")



private typealias VKLongPoll = VK
extension VKLongPoll {
    /**
     Long pool client. More - https://vk.com/dev/using_longpoll
     * To start and stop the server, use the start() and stop() functions
