Property | Type | Description | |
---|---|---|---|
arguments | List |
||
shell | string | ||
verbosity | int |
Method | Description | |
---|---|---|
CommandLineOptions ( string args ) : System |
constructor, parses command line arguments
|
|
Debug ( int minLevel, debugCallback callback ) : void |
will call debugCallback with a logging function if verbosity is at least minLevel
|
|
Debug ( int minlevel, string format ) : void |
print message if verbosity is at least minlevel
|
Method | Description | |
---|---|---|
Error ( string format ) : void |
logs an error
|
|
log ( string format ) : void |
all logging output will pass through this method
|
public CommandLineOptions ( string args ) : System | ||
args | string | command line arguments (without execution file name) |
return | System |
public Debug ( int minLevel, debugCallback callback ) : void | ||
minLevel | int | |
callback | debugCallback | |
return | void |
public Debug ( int minlevel, string format ) : void | ||
minlevel | int | |
format | string | |
return | void |