示例#1
0
 /**
  * 
  * @param array $config
  */
 public function __construct(array $config = [])
 {
     $this->properties['file_path'] = __DIR__ . '/';
     $this->properties['file_base_name'] = 'logs';
     $this->properties['file_extension'] = '.logs';
     $this->properties['file_max_size'] = 1024 * 1024 * 10;
     // 10 MBytes
     parent::__construct($config);
 }
示例#2
0
 public function __construct(array $config = [])
 {
     parent::__construct($config);
 }
示例#3
0
 public function __construct(array $config = [])
 {
     $this->properties['db'] = NULL;
     $this->properties['table_name'] = '';
     parent::__construct($config);
 }