riiid / LogsSheetKit

Lightweight customisable logger for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LogsSheetKit

Table of contents

  1. Introduction
  2. Usage
  3. Installation
  4. Contribution
  5. Maintainers

Introduction

Lightweight customizable logger for iOS using Swift 5.7, with minimum iOS 14 version. Screenshot 2022-10-11 at 2 35 12 PM

Usage

Usage of LogsSheetKit is pretty straight-forward, since LogsSheetKit handles most of the work by itself.

In order to log any message, just call LogsSheetManager.shared.log(message: "your message to be logged")

        LogsSheetManager.shared.log(message: "Riiid!")

In order to open LogsSheetView, just present LogsSheet(), and that's it!

Installation

Riiid's LogsSheetKit can be installed through Swift Package Manager easily and with comfort.

let package = Package(
  name: "MyPackage",
  dependencies: [
    .package(url: "https://github.com/riiid/LogsSheetKit.git", .upToNextMajor(from: "1.0.0"))
  ],
  targets: [
    .target(name: "MyTarget", dependencies: ["LogsSheetKit"])
  ]
)

Contribution

Any discussion and or pull requests are welcome!

In order to contribute, please subbranch from main, and after finishing the work open PR to main branch. Please note that PR should be reviewed by 2 people from code owners!

Please provide as much information about your proposed changes as possible.

Maintainers

License

LogsSheetKit is under MIT license. See the LICENSE for more info.

About

Lightweight customisable logger for iOS

License:MIT License


Languages

Language:Swift 100.0%