Skip to content

Commit

Permalink
Merge branch 'main' into feature/update-vue-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
open-hippy authored Nov 21, 2023
2 parents cbfae82 + 7ed0049 commit c74b919
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions modules/ios/base/HippyLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@
#import <Foundation/Foundation.h>
#import "HippyDefines.h"

#ifndef HIPPY_LOG_ENABLED
#ifdef DEBUG
#define HIPPY_LOG_ENABLED 1
#else
#define HIPPY_LOG_ENABLED 0
#endif //#ifdef DEBUG
#endif //#ifndef HIPPY_LOG_ENABLED

/**
* Thresholds for logs to display a redbox. You can override these values when debugging
* in order to tweak the default logging behavior.
Expand Down Expand Up @@ -125,13 +117,7 @@ HIPPY_EXTERN void HippyPerformBlockWithLogPrefix(void (^block)(void), NSString *
/**
* Private logging function - ignore this.
*/
#if HIPPY_LOG_ENABLED
#define _HippyLog(lvl, ...) HippyLogNativeInternal(lvl, __FILE__, __LINE__, __VA_ARGS__);
#else
#define _HippyLog(lvl, ...) \
do { \
} while (0)
#endif

HIPPY_EXTERN void HippyLogNativeInternal(HippyLogLevel, const char *, int, NSString *, ...) NS_FORMAT_FUNCTION(4, 5);

Expand Down

0 comments on commit c74b919

Please sign in to comment.