API16

JLog/ construct: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 43: Line 43:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=__construct
  category=__construct
  category=JLog
  category=JLog
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 01:53, 25 March 2017

Description

Constructor


<! removed transcluded page call, red link never existed >

Syntax

__construct($path, $options)
Parameter Name Default Value Description
$path $path Log file path
$options $options Log file options

Defined in

libraries/joomla/error/log.php

Importing

jimport( 'joomla.error.log' );

Source Body

function __construct($path, $options)
{
        // Set default values
        $this->_path = $path;
        $this->setOptions($options);
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples