IFlyDebugLog.h 611 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // IFlyDebugLog.h
  3. // MSC
  4. // description: 程序中的log处理类
  5. // Created by ypzhao on 12-11-22.
  6. // Copyright (c) 2012年 iflytek. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /*!
  10. * 调试信息
  11. */
  12. @interface IFlyDebugLog : NSObject
  13. /*!
  14. * 打印调试信息
  15. *
  16. * @param format -[in] 要打印的内容格式
  17. * @param ... -[in] 要打印的内容
  18. */
  19. + (void) showLog:(NSString *)format, ...;
  20. /*!
  21. * 将log写入文件中
  22. */
  23. + (void) writeLog;
  24. /*!
  25. * 设置是否显示log
  26. *
  27. * @param showLog YES:显示;NO:不显示
  28. */
  29. + (void) setShowLog:(BOOL) showLog;
  30. @end