#import #import namespace reanimated { std::unique_ptr Logger::instance = std::make_unique(); void REAIOSLogger::log(const char *str) { NSLog(@"%@", [NSString stringWithCString:str encoding:[NSString defaultCStringEncoding]]); } void REAIOSLogger::log(const std::string &str) { log(str.c_str()); } void REAIOSLogger::log(double d) { NSLog(@"%lf", d); } void REAIOSLogger::log(int i) { NSLog(@"%i", i); } void REAIOSLogger::log(bool b) { log(b ? "true" : "false"); } } // namespace reanimated