NSObject

extension NSObject
  • Method outputs a debug statement containing necessary information to resolve issues.

    Only works with debug/dev builds.

    Declaration

    Swift

    public func debugLog(object: Any, functionName: String = #function, fileName: String = #file, lineNumber: Int = #line, message: String)

    Parameters

    object

    Any object type

    functionName

    Automatically populated by the application

    fileName

    Automatically populated by the application

    lineNumber

    Automatically populated by the application

    message

    The message you wish to output.