Skip to content
/ RSLog Public

Lightweight thread-safe logging framework implemented in Swift

License

Notifications You must be signed in to change notification settings

m3rkus/RSLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

About

Lightweight thread-safe logging framework implemented in Swift

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published