Skip to content

Instantly share code, notes, and snippets.

@fassko
Created March 13, 2018 13:53
Show Gist options
  • Save fassko/85bb78fc8ed8a74bdfaf3e6949a33a82 to your computer and use it in GitHub Desktop.
Save fassko/85bb78fc8ed8a74bdfaf3e6949a33a82 to your computer and use it in GitHub Desktop.
XCGLogger+Loggly destination
let logglyDestination = LogglyDestination(owner: self, identifier: "logglyDestination")
logglyDestination.logQueue = XCGLogger.logQueue
logglyDestination.showLogIdentifier = false
logglyDestination.showFunctionName = true
logglyDestination.showThreadName = true
logglyDestination.showLevel = true
logglyDestination.showFileName = true
logglyDestination.showLineNumber = true
logglyDestination.showDate = true
logglyDestination.outputLevel = .verbose
add(destination: logglyDestination)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment