Skip to content

Instantly share code, notes, and snippets.

@felix91gr
Created May 25, 2018 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felix91gr/a0899d199697bc70bf58f4d767c523dd to your computer and use it in GitHub Desktop.
Save felix91gr/a0899d199697bc70bf58f4d767c523dd to your computer and use it in GitHub Desktop.
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" }
}
print("Goodbye!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment