Class BaseLog

Base log engine class.

BaseLog implements CakeLogInterface

Direct known subclasses

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

Method Detail

__constructsource public

__construct( array $config array() )

Constructor

Parameters

array $config optional array()
Configuration array

configsource 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
array

Properties summary

$_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.
http://api.cakephp.org/2.7/class-BaseLog.html