Skip to content

Instantly share code, notes, and snippets.

@tternes
Last active March 21, 2017 13:38
Show Gist options
  • Save tternes/101b92aa7bd68ae72149c8ec0ec73d92 to your computer and use it in GitHub Desktop.
Save tternes/101b92aa7bd68ae72149c8ec0ec73d92 to your computer and use it in GitHub Desktop.
typedef NS_OPTIONS(NSInteger, EVILogLevel)
{
EVILogLevelError,
EVILogLevelWarning,
EVILogLevelInfo,
EVILogLevelDebug,
};
typedef void(^EVILoggingCallback)(EVILogLevel level, NSString *message);
extern void EVIRegisterLoggingCallback(EVILoggingCallback callback);
extern void EVIUnregisterLoggingCallback();
extern NSString *EVILogLevelString(EVILogLevel level);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment