Skip to content

Instantly share code, notes, and snippets.

@felix91gr
felix91gr / loggingWithTraceLog.swift
Created May 25, 2018 23:51
A script where I'm trying to learn the basics of TraceLog ^^
import TraceLog
TraceLog.configure(writers: [ConsoleWriter()], environment: ["LOG_ALL": "TRACE4"])
print("Hello!")
for _ in 0..<100 {
logError { "Hey, I'm logging stuff! :D" }
}