Add some logging utilities to capture whisper.cpp output

This commit is contained in:
Niko 2024-01-09 17:38:28 -07:00
parent 9861dfdb93
commit 31b5976b17
No known key found for this signature in database
GPG key ID: 3861E636EA1E0E2B
4 changed files with 100 additions and 0 deletions

View file

@ -7,9 +7,16 @@ mod whisper_ctx;
mod whisper_grammar;
mod whisper_params;
mod whisper_state;
#[cfg(feature = "whisper-cpp-log")]
mod whisper_sys_log;
#[cfg(feature = "whisper-cpp-tracing")]
mod whisper_sys_tracing;
static LOG_TRAMPOLINE_INSTALL: Once = Once::new();
pub use error::WhisperError;
pub use standalone::*;
use std::sync::Once;
pub use utilities::*;
pub use whisper_ctx::WhisperContext;
pub use whisper_ctx::WhisperContextParameters;