Skip to content

Commit

Permalink
chore: fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
tjzel committed Aug 1, 2024
1 parent 815ecb4 commit f53cd68
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 48 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#import <Foundation/Foundation.h>
#import <RNReanimated/PlatformLogger.h>

namespace reanimated {

void PlatformLogger::log(const char *str)
{
NSLog(@"%@", [NSString stringWithCString:str encoding:[NSString defaultCStringEncoding]]);
}

void PlatformLogger::log(const std::string &str)
{
log(str.c_str());
}

void PlatformLogger::log(const double d)
{
NSLog(@"%lf", d);
}

void PlatformLogger::log(const int i)
{
NSLog(@"%i", i);
}

void PlatformLogger::log(const bool b)
{
log(b ? "true" : "false");
}

} // namespace reanimated

This file was deleted.

This file was deleted.

0 comments on commit f53cd68

Please sign in to comment.