#define FCDebug 1
#if !defined(FCDebug) || FCDebug == 0
#define printf(format,...) do {} while (0)
#define NSLog(format,...) do {} while (0)
#elif FCDebug == 1
#define printf(format,...) printf("[file->%s][function->%s][line->%d]:"format"\n",__FILE__,__func__,__LINE__,##__VA_ARGS__)
#define NSLog(format,...) NSLog(@"[file->%@][function->%s][line->%d]:" format, [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __func__, __LINE__,##__VA_ARGS__)
#elif FCDebug > 1
#define printf(format,...) printf("[file->%s][function->%s][line->%d]:"format"\n",__FILE__,__func__,__LINE__,##__VA_ARGS__)
#define NSLog(format,...) NSLog(@"[file->%@][function->%s][line->%d]:" format, [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __func__, __LINE__,##__VA_ARGS__)
#endif