Loggy

Loggy is a logging framework for iOS


Keywords
analytics, cocoapods, crash-reporting, error-reporting, framework, ios, ioslogging, library, loganalytics, logging, loggy, logs, macos, monitoring, pod, report, swift, swift4, swift5
Licenses
Apache-2.0/libpng-2.0
Install
pod try Loggy

Documentation

Loggy

Pod Version Pod Platform Pod License

Loggy is a simple logging framework for iOS with a dedicated mac application to view analytics and log report.

Installation

CocoaPods

platform :ios, '9.0'

target 'SampleTarget' do
  use_frameworks!
  pod 'Loggy'
end

Usage

  1. You can simply use import Loggy to get started.

  2. Add Loggy.setup to application:didFinishLaunchingWithOptions:

 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        Loggy.setup()
        return true
 }
  1. To log use Loggy.log(value: "Nice information", type: .Info)
  Loggy.log(value: "Nice information", type: .Info)
  Loggy.log(value: "Exception", type: .Error)
  Loggy.log(value: "log system info", type: .Verbose)
  Loggy.log(value: "Warning recieved", type: .Warning)
  1. Get Path to logfile
  Loggy.logFilePath

Mac app to view analytics

Loggy Analytics

  1. Import the log file.

  1. Dashboard tab shows a consolidated report of errors,warning etc.

  1. Log Details shows detailed information such as filename, function name , line number and time stamp.

Note: It automatically creates a new log file every 24 hrs.

Coming Soon

  • Carthage Support
  • macOS,tvOS and watchOS support

Author

License

  • Loggy is available under the Apache 2 license. See the LICENSE file.