Skip to content

Commit

Permalink
whisper : expose API to let user control log output (#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 <[email protected]>
  • Loading branch information
evmar and ggerganov authored Jul 25, 2023
1 parent 925915a commit fabf79f
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 92 deletions.
Loading

0 comments on commit fabf79f

Please sign in to comment.