Re: Telling silc toolkit not to print errors.

Pekka Riikonen <[email protected]>
Newsgroups gmane.network.silc.devel
Message-ID <[email protected]>
: > 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/
_______________________________________________________________________
Info:    https://lists.silcnet.org/mailman/listinfo/silc-announce
Archive: https://lists.silcnet.org/pipermail/silc-announce
FAQ:     http://silcnet.org/support/faq/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.