Comments (7)
@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.
from printer.
`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.
Thanks, can you add the output of this?
from printer.
[📣 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.
Ok, thanks for the quick response. I will get back on this shortly and update you. 👍
from printer.
@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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from printer.