freeride-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FR-devel] Catching Log messages


From: Laurent Julliard
Subject: [FR-devel] Catching Log messages
Date: Thu, 13 Jun 2002 17:55:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

I'm aming progress on the Databus Inspector (DBI) plugin. One of the thing I want to show is the messages send to the log slot and I wonder what's the best way to catch the log messages on the fly without disturbing the logger plugin.

Right now the logger pluggin runs 'sucks' all the log messages before the Databus Inspector can do anything with it. THis is a typical case where a plugin (the DBI) would like to spy on the /log slot at the same time the logger plugin does.

Is there a way to set up a "tee" mechanism where by both plugins could tap the log queue. Or at least a way by which the DBI plugin could look at the queued messages before they are consumed by the logger.

Ideas, suggestions welcome.

Laurent




reply via email to

[Prev in Thread] Current Thread [Next in Thread]