webCOMAND

comand::get_event_log()

Returns the event log kept by this comand instance.  It typically writes logged events to the file system.

Prototype

log get_event_log()

Example

$comand = comand::get();
$log = $comand->get_event_log(); 
$log->log_notice('Connecting to the repository...');
$repo = $comand->connect();
if(!$repo) {
	echo("<p>Could not connected to repository:</p>" . $log->as_html());
}