Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hideEmojis() doesn't work #1

Closed
vaibhav-varshaaweblabs opened this issue Jun 16, 2017 · 7 comments
Closed

hideEmojis() doesn't work #1

vaibhav-varshaaweblabs opened this issue Jun 16, 2017 · 7 comments
Assignees
Labels

Comments

@vaibhav-varshaaweblabs
Copy link

The function Printer.log.hideEmojis() does not work.

@hemangshah
Copy link
Owner

hemangshah commented Jun 16, 2017 via email

@vaibhav-varshaaweblabs
Copy link
Author

    `Printer.log.hideEmojis()
    
    Printer.log.printOnlyIfDebugMode = false
    Printer.log.keepTracking = true
    Printer.log.keepAutoTracing = true
    
    Printer.log.all(showTrace: true)
    
    Printer.log.show(details: "Success", logType: .success)
    Printer.log.show(details: "Info", logType: .information)
    Printer.log.show(details: "Error", logType: .error)
    
    let array1 = Printer.log.getAllLogs()
    Printer.log.saveLogsToFile(logs: array1)`

@hemangshah
Copy link
Owner

Thanks, can you add the output of this?

@vaibhav-varshaaweblabs
Copy link
Author

[📣 Information] [⌚06-16-2017 18:02:08]  ➞ ✹✹No tracked logs. To track logs, you need to set 'keepTracking' to 'true' and 'disable' is not set to 'true'.✹✹
[✅ Success] [⌚06-16-2017 18:02:08]  ➞ ✹✹Success✹✹
[Trace] ➞ HomeVC.swift ➞ viewWillAppear #35
[📣 Information] [⌚06-16-2017 18:02:08]  ➞ ✹✹Info✹✹
[Trace] ➞ HomeVC.swift ➞ viewWillAppear #36
[❌ Error] [⌚06-16-2017 18:02:08]  ➞ ✹✹Error✹✹
[Trace] ➞ HomeVC.swift ➞ viewWillAppear #37
[✅ Success] [⌚06-16-2017 18:02:08]  ➞ ✹✹Log file has been saved at following path:
	 /Users/dineshsailor/Library/Developer/CoreSimulator/Devices/984F11EF-BC05-4B1A-9697-5422EFB3DE5E/data/Containers/Data/Application/DF2C3353-9938-4929-A27A-EF9A5AE23C92/Documents/Printer/h5wz3fCvJp.txt✹✹

@hemangshah
Copy link
Owner

Ok, thanks for the quick response. I will get back on this shortly and update you. 👍

@hemangshah
Copy link
Owner

hemangshah commented Jun 18, 2017

@vaibhav-varshaaweblabs, thank you for you raised this issue. I found it as a bug and it is fixed in the new release. I have also pushed it on CocoaPods with a new release ~>1.2. Please keep supporting to this class to make it a perfect logger for the Swift app.

@hemangshah hemangshah self-assigned this Jun 18, 2017
@hemangshah hemangshah added the bug label Jun 18, 2017
@hemangshah
Copy link
Owner

hemangshah commented Jun 18, 2017

@vaibhav-varshaaweblabs , FYI, if you don't want emojis with logs. There's one property which logs plain if requires.

Printer.log.plainLog = true

You can read more about it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants