MBXLogWriterBackend.h 577 B

1234567891011121314151617
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxCommon/MBXLoggingLevel.h>
  4. /** Interface for implementing log writing backends, e.g. for using platform specific log backends or logging to a notification service. */
  5. NS_SWIFT_NAME(LogWriterBackend)
  6. @protocol MBXLogWriterBackend
  7. /**
  8. * Writes a log message with a given level.
  9. *
  10. * @param level Severity of the message.
  11. * @param message Log message
  12. */
  13. - (void)writeLogForLevel:(MBXLoggingLevel)level
  14. message:(nonnull NSString *)message;
  15. @end