BTLogger_Internal.h 454 B

12345678910111213141516171819
  1. #import <Foundation/Foundation.h>
  2. #import "BTLogger.h"
  3. @interface BTLogger ()
  4. - (void)log:(NSString *)format, ...;
  5. - (void)critical:(NSString *)format, ...;
  6. - (void)error:(NSString *)format, ...;
  7. - (void)warning:(NSString *)format, ...;
  8. - (void)info:(NSString *)format, ...;
  9. - (void)debug:(NSString *)format, ...;
  10. /**
  11. Custom block for handling log messages
  12. */
  13. @property (nonatomic, copy) void (^logBlock)(BTLogLevel level, NSString *message);
  14. @end