Hello Dr. Trigon,
On 24 December 2011 22:21, Dr. Trigon dr.trigon@surfeu.ch wrote:
I had a look into 'userinterfaces/terminal_interface.py'. As it looks to me we would have first to make a duplicate of it using 'logging' to replace 'targetStream.write' in 'printColorized'.
I think this misses the point of switching to the Logging module. The benefit of the Logging module is the possibility of assigning 'logging levels' to a message, e.g. DEBUG, INFO or WARNING, and the user can then configure the verbosity.
Essentially, we would need to re-implement the user interface module to pass through the logging module, which allows for creating different output modules.
But as far as I know, the rewrite already does this - or at least partially ;-)
Merlijn