Latest 1.0.0
Homepage https://github.com/Ad1991/ExceptionLogger
License MIT
Platforms ios 7.0, requires ARC
Authors

A lightweight exception logger that automatically stores any crashlogs in user defaults and returns when asked for.

If you do not want to wait for a crashlog to be exported and then re-symbolicated before you could analyze that during testing, use ExceptionLogger that would automatically store any crash that occurs in your app and you can pull out the crash details in next relaunch. Display in the app or send that over email.

Installation

  • To install via cocoapods, add below to your Podfile
    target 'ProjectName' do
    pod 'ExceptionLogger'
    end
  • Or you can copy paste the files from ExceptionLogger to your project. There are only two classes:
    • ELExceptionLogger
    • GTMStackTrace

Usage

  • In swift
    
    import ExceptionLogger

//To install the exception logger
ELExceptionLogger.installExceptionLogger()

//To fetch last stored exception logger
ELExceptionLogger.lastExceptionDetails()


* In Objective-C
```objective-c
#import <ExceptionLogger/ExceptionLogger.h>

//To install the exception logger
[ELExceptionLogger installExceptionLogger];

//To fetch last stored exception logger
[ELExceptionLogger lastExceptionDetails]

Note

ExceptionLogger uses GTMStackTrace from here.

License

ExceptionLogger is released under MIT License.

Latest podspec

{
    "name": "ExceptionLogger",
    "version": "1.0.0",
    "summary": "A lightweight exception logger for iOS applications",
    "description": "A lightweight exception logger that automatically stores any crashlogs in user defaults and returns when asked for.",
    "homepage": "https://github.com/Ad1991/ExceptionLogger",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Adarsh Rai": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/Ad1991/ExceptionLogger.git",
        "tag": "1.0.0"
    },
    "source_files": [
        "Classes",
        "ExceptionLogger/**/*.{h,m}"
    ],
    "public_header_files": [
        "ExceptionLogger/ELExceptionLogger.h",
        "ExceptionLogger/ExceptionLogger.h"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This