Git Product home page Git Product logo

Comments (7)

hemangshah avatar hemangshah commented on June 16, 2024 1

@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.

from printer.

hemangshah avatar hemangshah commented on June 16, 2024

from printer.

vaibhav-varshaaweblabs avatar vaibhav-varshaaweblabs commented on June 16, 2024
    `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)`

from printer.

hemangshah avatar hemangshah commented on June 16, 2024

Thanks, can you add the output of this?

from printer.

vaibhav-varshaaweblabs avatar vaibhav-varshaaweblabs commented on June 16, 2024
[📣 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✹✹

from printer.

hemangshah avatar hemangshah commented on June 16, 2024

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

from printer.

hemangshah avatar hemangshah commented on June 16, 2024

@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.

from printer.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.