pub const c = @import("c.zig").c; pub const Level = @import("level.zig").Level; pub const Value = @import("value.zig").Value; pub const UUID = @import("uuid.zig").UUID; pub fn captureEvent(value: Value) ?UUID { const uuid: UUID = .{ .value = c.sentry_capture_event(value.value) }; if (uuid.isNil()) return null; return uuid; } test { @import("std").testing.refAllDecls(@This()); }