Issues.00307 - lordmundi/wikidoctest GitHub Wiki
00307: allow tcl scripts to query if running in verbose mode
Summary: allow tcl scripts to query if running in verbose mode
Created: 2010–12–22 15:35
Status: Released
Category: Request
From: frankie
Version: 2.1
Released_In: 2.2
Description:
right now, plugins can print out via LogWarning and LogStatus such that the "-verbose" switch and "-noquiet" switch will change the verbosity level on the command line. This is a request for a feature such that tcl scripts can do the same thing. For example, to print out debug information, one might do:
if { [doug.cmd get_verbosity] > 0 } {
puts "Got to here"
}
the get_verbosity could return integers representing whether we are running in quiet, noquiet, or verbose modes.
Comments
brad January 3, 2010, at 2:14 PM: This has been implemented where it will return 0,1,2 for quiet,noquiet,verbose respectively.
Associated Commits
| commit | 84149a8d1a4db1cf7fdc30085721ff1fdb55afe2
link6 |
||
| Author: | Brad Bell
|
| Date: | Mon Jan 3 07:54:29 2011 -0600
|
| Message: | [@Issue 00307: This has been implemented. The folloging commands have been added
doug.cmd verbosity doug.cmd get_verbosity which will return one of 0,1,2 which coorisponds to quiet,noquiet,verbose levels of verbosity. @] |
Affected Files:
bin_Linux_FC3/doug | Bin 648454 -> 648749 bytes
bin_Win32/doug.exe | Bin 1778511 -> 1779192 bytes
2 files changed, 0 insertions(+), 0 deletions(-)