Skip to content

Commit

Permalink
removed unneeded function
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Jun 17, 2016
1 parent 415dd16 commit e5d0d12
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Organize/Util.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@ class Util {
dispatch_get_main_queue(), closure)
}

// logging
class func log(message: String?=nil, function: String = #function, file: String = #file) {
if Constant.App.logging {
let current = Int64(NSDate().timeIntervalSince1970*1000)
let output = "\(current) | \(file) | \(function) | \(message ?? "")"
print(output)
FIRCrashMessage(output)
}
}

// random
class func randomString(length length: Int) -> String {
let letters : NSString = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
Expand Down

0 comments on commit e5d0d12

Please sign in to comment.