mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-14 12:13:00 +08:00
47 lines
1.9 KiB
C
47 lines
1.9 KiB
C
//
|
|
// lcl_config_components.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 6/8/11.
|
|
// Copyright 2011 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
//
|
|
// The lcl_config_components.h file is used to define the application's log
|
|
// components.
|
|
//
|
|
// Use the code
|
|
//
|
|
// _lcl_component(<identifier>, <header>, <name>)
|
|
//
|
|
// for defining a log component, where
|
|
//
|
|
// - <identifier> is the unique name of a log component which is used in calls
|
|
// to lcl_log etc. A symbol 'lcl_c<identifier>' is automatically created for
|
|
// each log component.
|
|
//
|
|
// - <header> is a C string in UTF-8 which should be used by a logging back-end
|
|
// when writing a log message for the log component. The header is a technical
|
|
// key for identifying a log component's messages. It is recommended to use
|
|
// a 'Reverse ICANN' naming scheme when the header contains grouping
|
|
// information, e.g. 'example.main.component1'.
|
|
//
|
|
// - <name> is a C string in UTF-8 which contains the name of the log component
|
|
// and its grouping information in a non-technical, human-readable way
|
|
// which could be used by a user interface. Groups should be separated by the
|
|
// path separator '/', e.g. 'Example/Main/Component 1'.
|
|
//
|
|
|
|
|
|
//
|
|
// RestKit Logging Components
|
|
//
|
|
|
|
_lcl_component(RestKit, "restkit", "RestKit")
|
|
_lcl_component(RestKitNetwork, "restkit.network", "RestKit/Network")
|
|
_lcl_component(RestKitNetworkCache, "restkit.network.cache", "RestKit/Network/Cache")
|
|
_lcl_component(RestKitNetworkQueue, "restkit.network.queue", "RestKit/Network/Queue")
|
|
_lcl_component(RestKitNetworkReachability, "restkit.network.reachability", "RestKit/Network/Reachability")
|
|
_lcl_component(RestKitObjectMapping, "restkit.object_mapping", "RestKit/ObjectMapping")
|
|
_lcl_component(RestKitCoreData, "restkit.core_data", "RestKit/CoreData")
|