//
//  Logging.swift
//  RxCocoa
//
//  Created by Krunoslav Zaher on 4/3/15.
//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
//

import Foundation

/**
Simple logging settings for RxCocoa library.
*/
public struct Logging {
    public typealias LogURLRequest = (NSURLRequest) -> Bool
    
    /**
    Log URL requests to standard output in curl format.
    */
    public static var URLRequests: LogURLRequest =  { _ in
    #if DEBUG
        return true
    #else
        return false
    #endif
    }
}