Latest 1.0.0
Homepage https://github.com/7glyphs/SGLogging
License MIT
Platforms ios 4.3, osx 10.6

Simple wrapper macros around the ASL (Apple System Log).

Instalation

  • Add SGLogging.h and SGLogging.m to the project.
  • Import SGLogging.h to the -Prefix.pch file to make it avaliable in all classes.

Usage

SGLogEmergency(@"");    // The highest priority, usually reserved for catastrophic failures and reboot notices.
SGLogAlert(@"");        // A serious failure in a key system.
SGLogCritical(@"");     // A failure in a key system.
SGLogError(@"");        // Something has failed.
SGLogWarning(@"");      // Something is amiss and might fail if not corrected.
SGLogNotice(@"");       // Things of moderate interest to the user or administrator.
SGLogInfo(@"");         // The lowest priority that you would normally log, and purely informational in nature.
SGLogDebug(@"");        // The lowest priority, and normally not logged except for messages from the kernel.

Latest podspec

{
    "name": "SGLogging",
    "version": "1.0.0",
    "summary": "NSLog replacement",
    "homepage": "https://github.com/7glyphs/SGLogging",
    "license": "MIT",
    "authors": "7 glyphs Ltd.",
    "source": {
        "git": "https://github.com/7glyphs/SGLogging.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "4.3",
        "osx": "10.6"
    },
    "source_files": "SGLogging/*.{h,m}",
    "requires_arc": false
}

Pin It on Pinterest

Share This