Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/ui/dart_runtime_hooks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ void Logger_PrintString(Dart_NativeArguments args) {
// Write to the logcat on Android.
const char* tag = Settings::Get().log_tag.c_str();
__android_log_print(ANDROID_LOG_INFO, tag, "%.*s", (int)length, chars);
#elif defined(__APPLE__) || defined(OS_LINUX)
// On iOS and in flutter_tester (on both macOS and Linux, write directly to
// stdout. On iOS, this is redirected to ASL via
#else
// On Fuchsia, iOS and in flutter_tester (on both macOS and Linux), write
// directly to stdout. On iOS, this is redirected to ASL via
// RedirectIOConnectionsToSyslog in platform_mac.mm.
// TODO(cbracken) replace with dedicated (non-stdout) logging on iOS.
// TODO(cbracken): replace with dedicated (non-stdout) logging on iOS.
fwrite(chars, 1, length, stdout);
fputs("\n", stdout);
fflush(stdout);
Expand Down