ISLogDelegate.h 675 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // Copyright © 2017 IronSource. All rights reserved.
  3. //
  4. #ifndef IRONSOURCE_LOG_DELEGATE_H
  5. #define IRONSOURCE_LOG_DELEGATE_H
  6. #import <Foundation/Foundation.h>
  7. typedef enum LogLevelValues
  8. {
  9. IS_LOG_NONE = -1,
  10. IS_LOG_INTERNAL = 0,
  11. IS_LOG_INFO = 1,
  12. IS_LOG_WARNING = 2,
  13. IS_LOG_ERROR = 3,
  14. IS_LOG_CRITICAL = 4,
  15. } ISLogLevel;
  16. typedef enum LogTagValue
  17. {
  18. TAG_API,
  19. TAG_DELEGATE,
  20. TAG_ADAPTER_API,
  21. TAG_ADAPTER_DELEGATE,
  22. TAG_NETWORK,
  23. TAG_NATIVE,
  24. TAG_INTERNAL,
  25. TAG_EVENT
  26. } LogTag;
  27. @protocol ISLogDelegate <NSObject>
  28. @required
  29. - (void)sendLog:(NSString *)log level:(ISLogLevel)level tag:(LogTag)tag;
  30. @end
  31. #endif