From 8d1b51ad403e280ba56749fca8e49f1f3015102a Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Wed, 10 Sep 2025 17:33:13 -0700 Subject: [PATCH] more output cleanup --- src/main.zig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main.zig b/src/main.zig index 71e1ca7..a080ebe 100644 --- a/src/main.zig +++ b/src/main.zig @@ -38,7 +38,7 @@ const DemoHandler = struct { // Print error with timestamp const timestamp = std.time.timestamp(); - std.debug.print("[{}] Error #{} ({}): {s}\n", .{ timestamp, self.error_count, error_code, message }); + std.log.err("[{}] Error #{} ({}): {s}", .{ timestamp, self.error_count, error_code, message }); } /// Handle detailed errors with comprehensive information @@ -159,11 +159,6 @@ pub fn main() !void { }); _ = c.signal(c.SIGINT, signalHandler); - std.debug.print("STT Library Demo\n", .{}); - std.debug.print("================\n", .{}); - std.debug.print("This demo shows how to use the STT library for speech recognition.\n", .{}); - std.debug.print("The library uses callback-based event handling for detected speech.\n\n", .{}); - // Create demo handler with statistics tracking var demo_handler = DemoHandler{}; const speech_handler = stt.SpeechEventHandler{