Skip to content

Commit

Permalink
fix filename bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zixun committed Jan 11, 2017
1 parent 59516bf commit ab8d21c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Log4G/Classes/Log4G.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,10 @@ open class Log4G: NSObject {
line: Int,
function: String) {
self.queue.async {

let name = self.name(of: file)
let model = LogModel(type: type,
thread: thread,
message: message,
file: file,
file: self.name(of: file),
line: line,
function: function)
print(message)
Expand Down

0 comments on commit ab8d21c

Please sign in to comment.