Adds debug default identifier.

This commit is contained in:
Krunoslav Zaher 2015-08-13 23:41:51 +02:00
parent eac2e7a669
commit ba05314a98
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import Foundation
// debug
extension ObservableType {
public func debug(identifier: String)
public func debug(identifier: String = "\(__FILE__):\(__LINE__)")
-> Observable<E> {
return Debug(source: self.normalize(), identifier: identifier)
}