Telling silc toolkit not to print errors.
Pekka Riikonen
priikone at iki.fi
Sat Jun 2 08:26:58 CEST 2007
: > I'm working on a project that has a strict format for
: > errors printed to stderr. The toolkit, with the best of
: > intentions, is printing all sorts of errors that obviously
: > don't match our format.
: >
: > How can I disable all library error reporting?
:
: Answered my own question: silc_log_set_callback().
:
Yes, that's the one. The Toolkit never prints to stdout or stderr with
any other system except the SILC Log API so you can control that easily.
Exceptions to that rule are the various routines in
lib/silcapputil/silcapputil.[ch]. As the name suggest they are
application utilities and most of the routines there are directed to
command line applications. Those routines may print to stdout or stderr
directly.
Pekka
________________________________________________________________________
Pekka Riikonen priikone at silcnet.org
Secure Internet Live Conferencing (SILC) http://silcnet.org/
More information about the silc-devel
mailing list