nakkht / logr Goto Github PK
View Code? Open in Web Editor NEWDead simple logging library for iOS
Home Page: https://nakkht.github.io/logr/
License: Apache License 2.0
Dead simple logging library for iOS
Home Page: https://nakkht.github.io/logr/
License: Apache License 2.0
Include code coverage information.
Once there are some tests, integrate Travis CI for continuous builds.
maxArchivedFilesCount property in FileTargetConfig is not configurable.
Architectural document for overview of the design principles.
Classes missing documentation:
Available logging style options for targets:
Unit tests for:
ConsoleTarget class
Logr class
LogrService class
Config class
Motivation: To enable easier extensibility, aggregates LogLevel, message and meta info into message struct.
Further documentation on how to use the library:
FileTarget has a dispatch queue which is not configurable.
FileTargetConfig should allow setting dispatch queue explicitly. If not provided, it should default to the one provided by the library.
Force archive action should give opportunity for the client to archive current log file regardless of the specified conditions in the configuration file.
Motivation: default initializer for struct is internal, which means it is inaccessible from outside library.
Initializer has to be reverted back to public.
Introduce log levels, including configuration options:
Motivation: In conjunction to CocoaPods and SPM, Carthage support should be added if plausible.
FileTarget for writing logs to a file.
Some of the configurations to consider:
Ensure text is encoded using utf8
Functions deleteOldFiles
and renameArchivedFiles
in FileTarget
uses wrong directories for manipulating archived logs.
Demo samples showing logging to a file.
Reduce log information for the console to bare minimum:
{timestamp} {level} {message}
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.