drewkiino / atlantis Goto Github PK
View Code? Open in Web Editor NEWA powerful input-agnostic swift logging framework made to speed up development with maximum readability.
License: MIT License
A powerful input-agnostic swift logging framework made to speed up development with maximum readability.
License: MIT License
When a fresh install is done using CocoaPods, errors/warnings are generated on build.
Running under:
Xcode 9.2 beta (9C34b)
Swift 4
From your README's TODO list:
print to a text file when used on a device
But competing logging libraries allow me to add different loggers. As an example:
/**
Adds CocoaLumberjack loggers to the project.
*/
static func setUpLogging() {
#if DEBUG
setenv("XcodeColors", "YES", 0)
DDLog.addLogger(xcodeConsoleLogger)
#endif
DDLog.addLogger(fileLogger)
DDLog.addLogger(appleSystemLogger)
}
I think in an ideal world, I'd be able to not only do this, but also specify the minimum logging level for each logger I attach. So for example, the Xcode console gets all log levels, but the file logger only gets debug and up, and the Apple system logger only gets warning and error.
In the readme, the following example is provided:
public class CustomObject {
var id: Int = 123
var name: String = "Ben"
}
let customObject = CustomObject()
log.debug(customObject)
// prints
{
"id": 123,
"name": "Doug"
}
It would be nice if it instead printed something more like:
<CustomObject: {
"id": 123,
"name": "Doug"
}>
The actual exact format doesn't exactly matter. But this is closer what I'd expect to see from NSLog
in Objective-C for example. Sometimes it's not just the properties that I'm interested in, but also the type itself.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.