Class BaseLog

Base log engine class.

BaseLog implements CakeLogInterface

Direct Subclasses

Abstract
Package: Cake\Log\Engine
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Log/Engine/BaseLog.php

Properties summary

  • $_config protected
    string
    Engine config

Method Summary

  • __construct() public
    Constructor
  • config() public
    Sets instance config. When $config is null, returns config array

Method Detail

__construct()source public

__construct( array $config array() )

Constructor

Parameters

array $config optional array()
Configuration array

config()source public

config( array $config array() )

Sets instance config. When $config is null, returns config array

Config

  • types string or array, levels the engine is interested in
  • scopes string or array, scopes the engine is interested in

Parameters

array $config optional array()
engine configuration

Returns

array

Properties detail

$_configsource

protected string

Engine config

array()

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.9/class-BaseLog.html