Sets the log level to either verbose (INFO) or very verbose (DEBUG) allowing applications to be better debugged. Specifying either causes a message of that level to be output to the systemLog.

This command is almost always used in conjunction with cliCommandLogToConsole for debugging apps and daemons.

$oApp = new cliApplication('example', 'A simple example.');
$oRequest = cliRequest::getInstance()->setApplication($oApp);
        new cliCommandLog($oRequest)


public __construct($inRequest)

Creates a new log command

public execute()

Sets the correct log level based on the switch

Inherited Methods

<  1  >