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