src/include/common/base/debug.h

00001 /*
00002  * Copyright (C) 2003-2007 Funambol
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017  */
00018 
00019 
00020 
00021 #ifndef INCL_BASE_DEBUG
00022 #define INCL_BASE_DEBUG
00023 
00025 #include "base/fscapi.h"
00026 
00031 #define DBG_LOADING_CONN_SETTINGS "Loading connection settings from node %s"
00032 #define DBG_LOADING_MANAGEMENT_OBJECT "Loading management object %s"
00033 #define DBG_INVALID_ACCESS_SETTINGS "Access settings invalid record format!"
00034 #define DBG_NODE_NOT_FOUND "Node not found"
00035 #define DBG_LOADING_SOURCES "Loading sources subnodes from node %s"
00036 #define DBG_INVALID_SOURCE_SETTINGS "Source settings invalid record format!"
00037 #define DBG_SOURCE_CONFIGS_NOT_FOUND "No source configs were found, using default"
00038 #define DBG_COMMITTING_SOURCE "Committing source %s (next: %s)"
00039 #define DBG_COMMITTING_CHANGE "Committing %s operation on item %s"
00040 #define DBG_READING_CONFIG_FROM_DM "Reading configuration settings from the management tree"
00041 #define DBG_WRITING_CONFIG_TO_DM "Writing configuration settings to the management tree"
00042 #define DBG_DELETING_ITEM "Deleting item with LUID: %ld - Status: %u"
00043 #define DBG_ADDING_ITEM "Adding item with GUID: %s - LUID: %lu - Status: %u"
00044 #define DBG_UPDATING_ITEM "Updating item with LUID: %lu - Status: %u"
00045 #define DBG_ITEM_STATUS "Item: %s, Cmd: %s, Status code: %u"
00046 #define DBG_NUMBER_OF_RECORD "The sync source %s contains %d items"
00047 #define DBG_REMOVING_RECORD "Removing record in position %d (%ld)"
00048 #define DBG_RESETTING_RECORD "Resetting record in position %d (%ld)"
00049 #define DBG_RECORD_ATTTRS "Record info of %s"
00050 #define DBG_DELETION_DETECTED "Detected deleted record: %ld"
00051 #define DBG_CHANGE_DETECTED "Detected modified record: %ld"
00052 #define DBG_RECORD_NOT_COMMITTED "Record in position %d (%ld) not committed due to error %d on %s"
00053 #define DBG_READING "Reading ..."
00054 #define DBG_READING_CONTENT "Reading content (buffer size: %ld)"
00055 #define DBG_READING_BUFFER "Read %ld bytes"
00056 #define DBG_READING_DONE "Reading done"
00057 #define DBG_RECEIVED_CONTENT "Response:"
00058 #define DBG_HTTP_HEADERS "Request HTTP headers:"
00059 
00060 #endif

Generated on Fri Apr 27 12:29:18 2007 for Funambol C++ Client Library by  doxygen 1.5.2