Standard format for logs

Summary: ^

Reviewed By: ivanmisuno

Differential Revision: D49228038

fbshipit-source-id: bc2c506fa313158fbd8878156fff74ec2e1bed12
This commit is contained in:
Lorenzo Blasa
2023-09-19 04:22:04 -07:00
committed by Facebook GitHub Bot
parent f1c88a464b
commit b6f7d4c56f

View File

@@ -36,9 +36,9 @@ LogHandlerFunc getLogHandler() {
void defaultLogHandler(const std::string& message) { void defaultLogHandler(const std::string& message) {
#ifdef __ANDROID__ #ifdef __ANDROID__
__android_log_print( __android_log_print(
ANDROID_LOG_INFO, "flipper", "flipper: %s", message.c_str()); ANDROID_LOG_INFO, "flipper", "[flipper] %s", message.c_str());
#else #else
printf("flipper: %s\n", message.c_str()); printf("[flipper] %s\n", message.c_str());
#endif #endif
} }