We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e282b commit eecc835Copy full SHA for eecc835
src/android/android.zig
@@ -13,6 +13,9 @@ const android_builtin = struct {
13
pub const package_name: [:0]const u8 = ab.package_name;
14
};
15
16
+/// Writes the constant string text to the log, with priority prio and tag tag.
17
+/// Returns: 1 if the message was written to the log, or -EPERM if it was not; see __android_log_is_loggable().
18
+/// Source: https://developer.android.com/ndk/reference/group/logging
19
extern "log" fn __android_log_write(prio: c_int, tag: [*c]const u8, text: [*c]const u8) c_int;
20
21
/// Alternate panic implementation that calls __android_log_write so that you can see the logging via "adb logcat"
0 commit comments