Files
RestKit/Code/Support/RKLog.m
Blake Watters 903ab19eae Ensure that logging is configured on first invocation of RKLogConfigureByName. This
allows you to initialize the log level before you have configured any other part of the
framework.
2011-06-21 13:26:06 -04:00

20 lines
397 B
Objective-C

//
// RKLog.m
// RestKit
//
// Created by Blake Watters on 6/10/11.
// Copyright 2011 Two Toasters. All rights reserved.
//
#import "RKLog.h"
static BOOL loggingInitialized = NO;
void RKLogInitialize() {
if (loggingInitialized == NO) {
lcl_configure_by_name("RestKit*", RKLogLevelDefault);
RKLogInfo(@"RestKit initialized...");
loggingInitialized = YES;
}
}