Latest 0.1.0
License MIT
Platforms ios 8.0

Logger for iOS

Install with CococaPods

First add Log4ObjC dependency in Podfile

source ''
platform :ios, '8.0'

target 'TargetName' do
pod 'Log4ObjC', '~> 0.1.0'

Then install dependencies

pod install

Quick Start

Just import dependency with

#import "Log4ObjC.h"

Basically, you can use one shared instance all the way in your program.

We create two macros log and logger refers to Log4ObjC.shared, so that you can easily use in your code"This is a info log with 1 + 1 = %d", 2);

Log Levels

Besides, we defined a total of 5 levels to use in your code

  • trace
  • debug
  • info
  • warn
  • error

Future Plans

  • [ ] persistence
  • [ ] logs export/upload

Latest podspec

    "name": "Log4ObjC",
    "version": "0.1.0",
    "summary": "A simple logger for iOS written in objective-c.",
    "description": "A simple logger for iOS written in objective-cnLater, more functions like persistence, log upload, log view, etc. will be released.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "GuessEver": "[email protected]"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "v0.1.0"
    "source_files": "Log4ObjC/**/*.{h,m}"

Pin It on Pinterest

Share This