Skip to content

Commit

Permalink
whisper : expose API to let user control log output (ggerganov#1060)
Browse files Browse the repository at this point in the history
* expose api to let user control log output

Add
  whisper_set_log_callback()
that lets user set a callback for log messages.

Change all the
  fprintf(stderr, ...)
to call via the above.

* whisper : add <cstdarg>

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
  • Loading branch information
evmar and ggerganov authored Jul 25, 2023
1 parent 962516a commit bea7b02
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 92 deletions.
Loading

0 comments on commit bea7b02

Please sign in to comment.