Le 26/04/2015 10:05, Mário Luzeiro a écrit : > Hello Jean-Pierre, > > I notice your additions in 3d-viewer regarding the STATUS_TEXT_REPORTER > Does we have in KiCad some mechanism to make something like a Log / console > to report warnings and errors ? > I was thinking something that will log warnings and errors (ie: in the > parsers, etc..) and user in the end can check it by clicking somewhere and > get the report log.. Or perhaps something like a console. > Would / How it be possible to implement? > > Regards, > Mario Luzeiro > >
To report logs and warnings, the class REPORTER (see reporter.h) is a good candidate. this class (exactly a derived class) collects the messages. The derived class manages the way messages are shown ( the STATUS_TEXT_REPORTER displays them in the main frame status bar) You can very easily build an other derived class to display them in a message window and/or write them in a file. -- Jean-Pierre CHARRAS _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp