Skip to content

Instantly share code, notes, and snippets.

View fatihyildizhan's full-sized avatar
🎯
Focusing

Fatih YILDIZHAN fatihyildizhan

🎯
Focusing
View GitHub Profile
@DimaVartanian
DimaVartanian / CrashlyticsSwift.Swift
Last active June 8, 2019 10:16
Crashlytics CLS_LOG() in Swift
//
// Created by Dima Vartanian on 10/29/15.
//
import Foundation
import Crashlytics
// this method gives us pretty much the same functionality as the CLS_LOG macro, but written as a Swift function, the only differences are that we have to use array syntax for the argument list and that we don't get see if the method being called is a class method or an instance method. We also have to define the DEBUG compiler flag with -D DEBUG.
/// Usage:
///