Skip to content

A lightweight logging solution built in Swift for iOS apps

Notifications You must be signed in to change notification settings

TribalScale/MinLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MinLog

An easy to use light-weight logging Swift Package.

Installation instructions:

To install the MinLog package through Swift Package Manager(SPM):

  1. Open Xcode
  2. Go to File -> Add Packages
  3. On top right search bar, search for URL: https://github.com/TribalScale/MinLog.git
  4. Add the package

Features of MinLog library: This library debug prints the file name, function name, line number and a message. The logging has 5 levels:

  • Verbose: πŸ‘„
  • Error: ❌
  • Info: πŸ“™
  • Warning: πŸ””
  • Debug: πŸ§‘β€πŸ’»

The library can be used in this way:

MinLog.v("Hello World")

The output will be:

πŸ‘„πŸ‘„πŸ‘„ VERBOSE: FileName.swift - FunctionName(_:) at line 33[13]: Hello World πŸ‘„πŸ‘„πŸ‘„

About

A lightweight logging solution built in Swift for iOS apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages