Actions

CodeExample

Difference between revisions of "4d0a2b2491399"

From Joomla! Documentation

(CodeExample provided by Wouterdt)
 
(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 20:11, 18 March 2012

No Title

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