     private let networkManager: NetworkManager
 
     /// Closure that converts the buffer to data.
-    private let bufferEncode: ([(LogAPI.Level, String)]) -> Data?
+    private let bufferEncode: ([Entry]) -> Data?
 
     /// Stores the log entries in memory until it is ready to send.
-    private var buffer: [(LogAPI.Level, String)] = []
+    private var buffer: [Entry] = []
 
     /// The initializer of the log destination.
     ///

    func write(
        _ parameters: [String: Any],
        level: LogAPI.Level,
        file: String,
        function: String,
        line: Int,

//

#if os(iOS)
import Foundation.NSDate
import Foundation.NSData
import Foundation.NSJSONSerialization
import Foundation.NSNotification
