Skip to content

Instantly share code, notes, and snippets.

View morqon's full-sized avatar
💭
⛵️ working from home

morgan — morqon

💭
⛵️ working from home
View GitHub Profile
@Abizern
Abizern / loggingPrint.swift
Last active September 22, 2021 14:28
Debug logging for Swift
//
// LoggingPrint.swift
//
import Foundation
/**
Prints the filename, function name, line number and textual representation of `object` and a newline character into
the standard output if the build setting for "Active Complilation Conditions" (SWIFT_ACTIVE_COMPILATION_CONDITIONS) defines `DEBUG`.