Skip to content

An interactive iOS tool showing active logs without Xcode.

License

Notifications You must be signed in to change notification settings

PointerFLY/ReaLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReaLog

An interactive iOS log monitoring tool.

Introduction

ReaLog shows log messages directly on screen, which helps developers to access infos when application is running.

Usage

Add ReaLog to your project with only one line of code!

ReaLog.shared.enable()

Then you can make thread safe visible logs anywhere, they'll show on the ReaLog window.

ReaLog.shared.addLog("Any log message you want to show")

You can either configure or disable ReaLog.

ReaLog.shared.lineFeed = "\n"
ReaLog.shared.dateFormatter.dateFormat = "HH:mm:ss"

ReaLog.shared.window?.floatingBallFrame = CGRect(x: 20, y: 300, width: 60, height: 60)
ReaLog.shared.window?.logViewFrame = CGRect(x: 100, y: 100, width: 200, height: 300)

ReaLog.shared.disable()
...

Requirements

  • iOS 8.0+
  • Xcode 9.0+
  • Swift 4.0+

Installation

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate Alamofire into your Xcode project using Carthage, specify it in your Cartfile:

github "PointerFLY/ReaLog" ~> 0.3.0

Run carthage update to build the framework and drag the built ReaLog.framework into your Xcode project.

Manually

Download project, open with Xcode, compile the ReaLog framework, retrieve the framework product, and embed it in any other Xcode project.