Skip to content

Instantly share code, notes, and snippets.

@tternes
Last active March 21, 2017 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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