Thomas De Schampheleire wrote:
Basically, I would like to be able to pass a debug_level parameter to my module, that determines the amount of messages that will pass on the console. If there is another way to achieve this, that is fine for me as well.
Rather than using console debugging it might be nicer to use DTrace static probes. Unless your module is used very early on it boot or where you may not otherwise have the ability to run dtrace(1M).
Using DTrace static probes for debugging means you don't need to change a debug parameter just write a D program to get the probes to fire.
-- Darren J Moffat _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
