//
//  SinkProtocol.swift
//  xray
//
//  Created by Anton Kononenko on 7/9/20.
//  Copyright © 2020 Applicaster. All rights reserved.
//

import Foundation

public protocol SinkProtocol: NSObjectProtocol {
    var formatter: EventFormatterProtocol? { get set }
}

public protocol SyncSinkProtocol: SinkProtocol {
    func log(event: Event)
}

public protocol AsyncSinkProtocol: SinkProtocol {
    func log(event: Event) async
}
