SnapscreenLoggingHandler

@protocol SnapscreenLoggingHandler

SnapscreenLoggingHandler offers an interface to receive log messages from SnapscreenKit in your application and connect logging to a custom logging framework of your choice.

  • Log a message with level FATAL

    Declaration

    Objective-C

    - (void)logFatal:(NSString *_Nonnull)message;

    Swift

    func logFatal(_ message: Any!)

    Parameters

    message

    The fully formatted log message

  • Log a message with level ERROR

    Declaration

    Objective-C

    - (void)logError:(NSString *_Nonnull)message;

    Swift

    func logError(_ message: Any!)

    Parameters

    message

    The fully formatted log message

  • Log a message with level WARN

    Declaration

    Objective-C

    - (void)logWarn:(NSString *_Nonnull)message;

    Swift

    func logWarn(_ message: Any!)

    Parameters

    message

    The fully formatted log message

  • Log a message with level INFO

    Declaration

    Objective-C

    - (void)logInfo:(NSString *_Nonnull)message;

    Swift

    func logInfo(_ message: Any!)

    Parameters

    message

    The fully formatted log message

  • Log a message with level DEBUG

    Declaration

    Objective-C

    - (void)logDebug:(NSString *_Nonnull)message;

    Swift

    func logDebug(_ message: Any!)

    Parameters

    message

    The fully formatted log message

  • Log a message with level VERBOSE

    Declaration

    Objective-C

    - (void)logVerbose:(NSString *_Nonnull)message;

    Swift

    func logVerbose(_ message: Any!)

    Parameters

    message

    The fully formatted log message