RSLog 0.1.0

RSLog 0.1.0

Maintained by Roman.



RSLog 0.1.0

  • By
  • m3rkus

RSLog

Lightweight thread-safe logging framework implemented in Swift.

Features

  • Emoji and text log levels for visual perception
  • Filename and line number logging
  • Function name logging
  • Three log levels: Info, Warning, Error
  • Works only for debug builds

Example output

Requirements

  • iOS 8 or any higher version.
  • Xcode 9 or any higher version.
  • Swift 4.0 or any higher version.

Installation

CocoaPods

pod 'RSLog'

Usage

// Shortcut for the log singleton
let log = RSLog.shared

log.info("This is an info message")
log.warning("This is a warning message")
log.error("This is an error message")