Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Looking for a package for debuging purpose
Hello, I'm newbie in packages creation.
I'm looking for a package (let's call it pac debug)
which can be called in other package to store debug information.
This package should be disabled using a variable.
It looks like :
pac on : set pac debug.flgdebug to TRUE pac off : set pac debug.flgdebug to FALSE pac debug : put the message in table TB DEBUG with the date ifpac debug.flgdebug is TRUE
Example:
another package
blah
blah
pac debug('my message No1');
blah
blah
pac debug('my message No2');
blah
blah
pac debug('my message No3');
end of another package
I'll be happy to have any example on which I can work on. Thx
-- / ) | BIERO Christian | T l: +33 (0)1 464 828 00 | ( \ / / | O.I. Synform | FAX: +33 (0)1 464 828 01 | \ \ ( / | 37, rue du Colonel | mailto: | ) )Received on Fri Apr 07 2000 - 00:00:00 CDT
(((\ \> |/ ) Pierre Avia | cbiero_at_gold-solutions.com ( \| </
/))) (\\\\ \ / / 75508 Paris Cedex 15 | http://www.gold-solutions.com \ / ////) \ / | \ / \ / \ / / / \ \ / / \ \ --