Latest 1.0.0
License BSD
Platforms ios 5.0, osx 10.6, requires ARC

Better logging that uses ASL log levels. Based on work by Mike Weller:



pod 'TULogging'


Add the TULogging subfolder to your project. There are no required libraries.


(See example Xcode project)

Simply alloc/init an instance of TUSafariActivity and pass that object into the applicationActivities array when creating a UIActivityViewController.

TULogError(@"Could not open file: %@", fileName);
TULogWarning(@"No default image supplied.");
TULogNotice(@"Using cached result: %@", result);
TULogInfo(@"Requesting %@", requestURL);
TULogDebug(@"name: %@", name);

Every log is performed asynchronously on a serial background queue. This means that if you are using the debugger to step through your code, the log output will not appear immediately. But, everything will still be in order (with respect to TULog* calls). This makes logging thread safe, and won’t tie up the main thread.

See the original post for more details.

Latest podspec

    "name": "TULogging",
    "version": "1.0.0",
    "summary": "Better logging that uses ASL log levels. Based on work by Mike Weller.",
    "homepage": "",
    "license": "BSD",
    "authors": {
        "David Beck": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.0.0"
    "platforms": {
        "ios": "5.0",
        "osx": "10.6"
    "source_files": "TULogging/*.{h,m}",
    "requires_arc": true

Pin It on Pinterest

Share This