CodeExample

4d0a2b2491399: Difference between revisions

From Joomla! Documentation

CodeExample provided by Wouterdt
 
Cmb (talk | contribs)
Removed apparent vandalism by Wouterdt affecting the API15:JText page.
 
Line 8: Line 8:
$log->addEntry(array('LEVEL' => '1','STATUS' => 'SOME ERROR:','COMMENT' =>'some comment'));
$log->addEntry(array('LEVEL' => '1','STATUS' => 'SOME ERROR:','COMMENT' =>'some comment'));
</source>   
</source>   
 
</div></div>  
<div class='comment-signature'>[[User:Wouterdt|Wouterdt]] 09:07, 16 December 2010 (CST) [[CodeExample:4d0a2b2491399 |Edit comment]]</div></div></div>  


[[Category:JLog]] [[Category:CodeExample]] [[Category:ClassExample]]
[[Category:JLog]] [[Category:CodeExample]] [[Category:ClassExample]]

Latest revision as of 01:11, 19 March 2012

No Title

 
jimport('joomla.error.log');
$log = &JLog::getInstance();
$log->addEntry(array('LEVEL' => '1','STATUS' => 'SOME ERROR:','COMMENT' =>'some comment'));