Quantcast

Add a debugging module to Ovale to selectively print debugging messages.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2012-10-19 01:38:22
Author local date 2012-10-19 01:38:22 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2012-10-19 01:38:22
Committer local date 2012-10-19 01:38:22 +0000
Commit 9409f93d1059c5f942f120392ebd3e444797b252
Tree f9f3421242b7cdb235fdab4d2dbeb12bd8c6aa15
Parent 7e2da1df08a95ce57460663ea324e9ff05c5062e
Add a debugging module to Ovale to selectively print debugging messages.

Add a new public method Ovale:debugPrint(flag, ...) that prints the
message if the debugging flag has been set.  The flag can be any string.
Flags may be toggled with: /ovale toggledebug <flag>.
Flags may be listed with: /ovale debugflags.

Add some debugging print statements for when a script compilation is
requested using a "compile" flag.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@607 d5049fe3-3747-40f7-a4b5-f36d6801af5f