Created
May 25, 2018 23:51
-
-
Save felix91gr/a0899d199697bc70bf58f4d767c523dd to your computer and use it in GitHub Desktop.
A script where I'm trying to learn the basics of TraceLog ^^
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import TraceLog | |
TraceLog.configure(writers: [ConsoleWriter()], environment: ["LOG_ALL": "TRACE4"]) | |
print("Hello!") | |
for _ in 0..<100 { | |
logError { "Hey, I'm logging stuff! :D" } | |
} | |
print("Goodbye!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment