From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001 From: 单军华 Date: Wed, 11 Jul 2018 10:47:42 +0800 Subject: [PATCH] 首次上传 --- screendisplay/Pods/UMengUShare/UShareSDK/UMSocialSDK/UMSocialCore.framework/Headers/UMSociallogMacros.h | 61 ++++++++++++++++++++++++++++++ 1 files changed, 61 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/UMengUShare/UShareSDK/UMSocialSDK/UMSocialCore.framework/Headers/UMSociallogMacros.h b/screendisplay/Pods/UMengUShare/UShareSDK/UMSocialSDK/UMSocialCore.framework/Headers/UMSociallogMacros.h new file mode 100755 index 0000000..683aac9 --- /dev/null +++ b/screendisplay/Pods/UMengUShare/UShareSDK/UMSocialSDK/UMSocialCore.framework/Headers/UMSociallogMacros.h @@ -0,0 +1,61 @@ +// +// UMSociallogMacros.h +// UMSocialCore +// +// Created by ��������� on 16/9/7. +// Copyright �� 2016��� ���������. All rights reserved. +// + +#import <Foundation/Foundation.h> + + +/** + * ��������������������������� + * + * @param levelString ��������������������� @see UMSocialLogClosedString,UMSocialLogErrorString,UMSocialLogWarnString,UMSocialLogInfoString,UMSocialLogDebugString,UMSocialLogVerboseString + * @discuss ������������������������UMSocialLogClosedString���UMSocialLogErrorString���UMSocialLogWarnString���UMSocialLogInfoString���UMSocialLogDebugString���������������������������UMSocialLogVerboseString������������������������������������������������������������������UMSocialLogDebugString + */ +FOUNDATION_EXPORT void setGlobalLogLevelString(NSString* levelString); +FOUNDATION_EXPORT NSString* getGlobalLogLevelString(); + +FOUNDATION_EXPORT NSString* const UMSocialLogClosedLevelString; +FOUNDATION_EXPORT NSString* const UMSocialLogErrorLevelString; +FOUNDATION_EXPORT NSString* const UMSocialLogWarnLevelString; +FOUNDATION_EXPORT NSString* const UMSocialLogInfoLevelString; +FOUNDATION_EXPORT NSString* const UMSocialLogDebugLevelString; +FOUNDATION_EXPORT NSString* const UMSocialLogVerboseLevelString; + + +/** + * ������������������������ + * + * @param flagString ������������������������������������ + * @see below UMSocialLogClosedFlagString...and so on + * @param file ��������������������� + * @param function ��������������������� + * @param line ������������������������ + * @param format ��������������������������������� + * @param ... ������������ + * @dicuss ������������������������������������������������������ @see UMSocialLogError,UMSocialLogWarn,UMSocialLogInfo,UMSocialLogDebug + */ +FOUNDATION_EXPORT void UMSocialLog(NSString* flagString,const char* file,const char* function,NSUInteger line,NSString *format, ...) NS_FORMAT_FUNCTION(5,6); + +FOUNDATION_EXPORT NSString* const UMSocialLogErrorFlagString; +FOUNDATION_EXPORT NSString* const UMSocialLogWarnFlagString; +FOUNDATION_EXPORT NSString* const UMSocialLogInfoFlagString; +FOUNDATION_EXPORT NSString* const UMSocialLogDebugFlagString; +FOUNDATION_EXPORT NSString* const UMSocialLogVerboseFlagString; + +//������������������������������NSLog������,������������ +#define UMSocialLogError(format, ...) UMSocialLog(UMSocialLogErrorFlagString,__FILE__,__PRETTY_FUNCTION__,__LINE__,format,##__VA_ARGS__) +#define UMSocialLogWarn(format, ...) UMSocialLog(UMSocialLogWarnFlagString,__FILE__,__PRETTY_FUNCTION__,__LINE__,format,##__VA_ARGS__) +#define UMSocialLogInfo(format, ...) UMSocialLog(UMSocialLogInfoFlagString,__FILE__,__PRETTY_FUNCTION__,__LINE__,format,##__VA_ARGS__) +#define UMSocialLogDebug(format, ...) UMSocialLog(UMSocialLogDebugFlagString,__FILE__,__PRETTY_FUNCTION__,__LINE__,format,##__VA_ARGS__) +#define UMSocialLogVerbose(format, ...) UMSocialLog(UMSocialLogVerboseFlagString,__FILE__,__PRETTY_FUNCTION__,__LINE__,format,##__VA_ARGS__) + + +//��������������������������������������� +FOUNDATION_EXPORT NSString* UMSocialLogWithLocalizedKey(NSString* key); +#define UMSocialLogLocalizedString(key) UMSocialLogWithLocalizedKey(key) + + -- Gitblit v1.8.0