Re: [eclipse-clp-users] Possible to suppress file compiled messages

From: Joachim Schimpf <jschimpf_at_...311...>
Date: Mon, 21 Feb 2022 15:34:48 +0000
On 21/02/2022 09:52, Paulo Moura wrote:
> Hi,
> 
> I use ECLIPSe's compile/2 predicate to compile and load Prolog files. But with the default verbose:0 option (and with it explicit) I still get <file> compiled <bytes> bytes in <seconds> seconds log messages. Is there any way of suppressing these messages?

Hi Paulo,

the messages are printed by an event handler to the log_output stream.

To suppress, you can either disable the event handler with

   ?- set_event_handler(139, true/0).

or redirect the log_output stream to null

   ?- set_stream(log_output, null).


Cheers,
Joachim
Received on Mon Feb 21 2022 - 15:51:27 CET

This archive was generated by hypermail 2.3.0 : Tue Apr 16 2024 - 09:13:20 CEST