Created
March 13, 2018 13:53
-
-
Save fassko/85bb78fc8ed8a74bdfaf3e6949a33a82 to your computer and use it in GitHub Desktop.
XCGLogger+Loggly destination
This file contains hidden or 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
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